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 -    /themes/${application_theme}/pages/production/mainContent.jsp -Wes On Mon, Aug 2, 2010 at 10:10 AM, Dale Newfield wrote: > On 8/2/10 3:31 AM, colaru wro

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 http://www.appdomain.

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: /themes/%{application_theme}/pages/production/mainContent.jsp That should work if would print the value you want in the resulting .jsp. where "application_theme" is an attr

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 T

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: /themes/%{application_theme}/pages/production/mainContent.jsp where "application_theme" is an attribute on Application Context. I want to redirect to a dynamic URL created in runtime based on this variable - and sti