接口 org.apache.struts2.dispatcher.StaticContentLoader
的使用

使用 StaticContentLoader 的软件包
org.apache.struts2.dispatcher Classes for action dispatching in Struts (the Controller part of MVC). 
org.apache.struts2.dispatcher.ng This package contains a reimagining of the traditional Struts filter dispatchers. 
 

org.apache.struts2.dispatcherStaticContentLoader 的使用
 

实现 StaticContentLoaderorg.apache.struts2.dispatcher 中的类
 class DefaultStaticContentLoader
          Default implementation to server static content

This class is used to serve common static content needed when using various parts of Struts, such as JavaScript files, CSS files, etc.

 

参数类型为 StaticContentLoaderorg.apache.struts2.dispatcher 中的方法
 void FilterDispatcher.setStaticResourceLoader(StaticContentLoader staticResourceLoader)
          已过时。 Modify state of StrutsConstants.STRUTS_STATIC_CONTENT_LOADER setting.
 

org.apache.struts2.dispatcher.ngStaticContentLoader 的使用
 

返回 StaticContentLoaderorg.apache.struts2.dispatcher.ng 中的方法
 StaticContentLoader InitOperations.initStaticContentLoader(HostConfig filterConfig, Dispatcher dispatcher)
          Initializes the static content loader with the filter configuration