[ https://issues.apache.org/struts/browse/WW-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aadi Deshpande updated WW-1595: ------------------------------- Attachment: codebehind.patch > Allow codebehind to select the starting directory point > -------------------------------------------------------- > > Key: WW-1595 > URL: https://issues.apache.org/struts/browse/WW-1595 > Project: Struts 2 > Issue Type: New Feature > Components: Plugins > Affects Versions: 2.0.2, 2.0.3 > Reporter: Aadi Deshpande > Attachments: codebehind.patch > > > Here's a simple patch to allow a new default "root" directory to be used when > searching templates. I created it because I had a wish to keep jsp and css > in independent directories. > The configuration property is known as "struts.codebehind.pathPrefix" and > requires a trailing slash > It's set to default to "/" in both the java and in the struts-plugin.xml > as an addendum, per a request, i've also added the default constant for > "struts.codebehind.defaultPackage" to help the codebehind plugin remain > selfcontained. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira