[ https://issues.apache.org/jira/browse/WW-3930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507171#comment-13507171 ]
Hudson commented on WW-3930: ---------------------------- Integrated in Struts2-JDK5 #9 (See [https://builds.apache.org/job/Struts2-JDK5/9/]) WW-3930 updates JavaDocs about static content loader (Revision 1415524) Result = SUCCESS lukaszlenart : Files : * /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/DefaultStaticContentLoader.java * /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/StaticContentLoader.java > Cannot access plugin (.jar) static resources via "/struts" or "/static" URL > --------------------------------------------------------------------------- > > Key: WW-3930 > URL: https://issues.apache.org/jira/browse/WW-3930 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Affects Versions: 2.3.7 > Environment: Struts 2.3.7 > Reporter: Yoseph Stephen > Priority: Minor > Labels: plugin, resource, static > Fix For: 2.3.8 > > > I try creating a simple plugin (guided by > http://struts.apache.org/2.3.7/docs/plugins.html) with the following > structure: > - src > -- com > --- test > ---- TestAction.java > -- WEB-INF > --- content > ---- hello.vm > -- static > --- test.js > -- struts-plugin.xml > Everything works fine (action can be accessed), except I cannot access the > static resources using URL: http://host/app_context/static/test.js. I have > also tried the "struts/test.js" url, it doesn't work either (shows 404 page). > I have also set the "struts.serve.static" constant to "true". > I have checked the plugin .jar contains the static folder and the test.js > file in it. > Need fix ASAP. Thx -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira