# 2. Resources

本章介绍 Spring 如何处理资源以及如何在 Spring 中使用资源。它包括以下主题：

* [介绍](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-introduction)
* [`Resource`界面](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-resource)
* [内置`Resource`实现](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-implementations)
* [`ResourceLoader`界面](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-resourceloader)
* [`ResourcePatternResolver`界面](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-resourcepatternresolver)
* [`ResourceLoaderAware`界面](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-resourceloaderaware)
* [资源作为依赖](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-as-dependencies)
* [应用程序上下文和资源路径](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#resources-app-ctx)

####

####

####

####

####

####

####


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.shiker.tech/spring-he-xin-gong-neng/2.-resources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
