struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1595) Allow codebehind to select the starting directory point
Date Thu, 04 Jan 2007 22:45:16 GMT

     [ https://issues.apache.org/struts/browse/WW-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Don Brown resolved WW-1595.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3
         Assignee: Don Brown

Patch applied, thanks!

> 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
>         Assigned To: Don Brown
>             Fix For: 2.0.3
>
>         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

        

Mime
View raw message