Re: Can I access URL parameters within struts.xml using ognl ?

2010-08-02 Thread colaru
For me is not working. I want something like this: action name=mainContent class=com.integrationpath.mengine.webapp.action.ArticleAction method=list result name=success/themes/%{application_theme}/pages/production/mainContent.jsp/result /action where

Re: getting label from property

2010-08-02 Thread Dale Newfield
On 7/28/10 2:16 PM, Ryan Beckes wrote: I'm working my way through properties and I'm kind of stuck. I have a properties file (package.properties) with a message entry... Index.message= Color ... I am able to pull this message via the s:text tag, so I know it's available in the value stack

Re: Can I access URL parameters within struts.xml using ognl ?

2010-08-02 Thread Dale Newfield
On 8/2/10 3:31 AM, colaru wrote: For me is not working. I want something like this: action name=mainContent class=com.integrationpath.mengine.webapp.action.ArticleAction method=list result name=success/themes/%{application_theme}/pages/production/mainContent.jsp/result

Struts2 session problem (after migrating behind reverse proxy)

2010-08-02 Thread Tim Dellas
Hi there! I store session parameters in a Struts2 session map that I get in my actions using the SessionAware interface. My Application is in the /MyApp path. After setting up the struts2 application on an Apache server with an inverse proxy redirect that makes the URL

Re: Can I access URL parameters within struts.xml using ognl ?

2010-08-02 Thread Wes Wannemacher
I think, depending on which version of struts you're using, in struts.xml files, you use $, not % for OGNL expressions... So, try this - action name=mainContent class=com.integrationpath.mengine.webapp.action.ArticleAction method=list    result