[ http://issues.apache.org/struts/browse/WW-1291?page=comments#action_38933 ] Don Brown commented on WW-1291: -------------------------------
I'm not sure I follow, actually. JS and other static files are only loaded from the classpath when prefixed by "/struts". If you don't want that behavior, then just reference the file directly, without the "/struts" prefix. > Centralize location for all template files include JavaScript > ------------------------------------------------------------- > > Key: WW-1291 > URL: http://issues.apache.org/struts/browse/WW-1291 > Project: Struts 2 > Issue Type: New Feature > Components: Views > Affects Versions: WW 2.2.2 > Reporter: Brian Pontarelli > Assigned To: Don Brown > Fix For: Future > > > Currently, WebWork loads the FTL files from either the JAR or the template > directory in the web application. However, it loads the JavaScript files from > the classpath using a prefix based search. This forces custom JavaScript > files to be placed into the WEB-INF/classes/template directory rather than > with the custom FTL files in the web application directory. These two ways to > customize WebWork should be combined so that it is all standard. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
