...
Static content is served by an implementation of org.apache.struts2.dispatcher.StaticContentLoader
. To write your own StaticContentLoader
, implement StaticContentLoader
and define a bean for the class:
Code Block | ||||
---|---|---|---|---|
| ||||
<bean type="org.apache.struts2.dispatcher.StaticContentLoader" class="MyStaticContentLoader" name="myLoader" /> <constant name="struts.staticContentLoader" value="myLoader" /> |
...