Because each component is mapped separately, two components which happen to use the same resource name may not necessarily be bound to the same container resource.
因为每个组件单独映射,两个偶尔使用相同资源名的组件可能不需要绑定到相同的容器资源。
Container filters filter the requests before resource filters.
容器过滤器过滤资源过滤器前面的请求。
This way, the code can leave the resource management to the container and yet easily access a resource through its name.
以此方式,代码可以脱离容器的资源管理而仍然可以轻易的通过资源的名称访问资源。
应用推荐