Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2, 2.0.3
-
None
Description
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.