Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Previous action's property file being accessed incorrectly

David Harland

2007-03-13


> Hi,
>
> We have a problem. Our home page is made up of three actions etc.
>
> <s:action name="Home1" executeResult="true" />
> <s:action name="Home2" executeResult="true" />
> <s:action name="Home3" executeResult="true" />
>
> When a link is clicked on the home page to the User page via the User
> action the User pages properties can't be found. It appears to be
> looking at the action Home3 properties file...
>
> The home pages properties are held in package.properties whereas the
> User Action properties are held in User.properties
>
> com
>  home
>  Home1  
>  Home2
>  Home3
>  package.properties
>    user
>    User
>    User.properties
>  
>
> Does anyone know why this might be.

______________________________________________________________________
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP

learndirect Solutions Ltd
Registered in England No. 5081669
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP

UFI Charitable Trust
Registered in England No. 3658378
Registered Charity No. 1081028
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP

This email has been scanned by the MessageLabs Email Security System.

______________________________________________________________________
©2008 junlu.com - Jax Systems, LLC, U.S.A.