Re: Newbie Q: How to set session object parameters in struts.xml

2008-06-24 Thread Lukasz Lenart
To be clear with previous post, first try to parse data then put it on the stack. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie Q: How to set session object parameters in struts.xml

2008-06-24 Thread Lukasz Lenart
Hi, I misunderstood you ;-) I spent some time to find solution but right now it isn't possible because of StaticParametersInterceptor. Look at the code below for (Iterator iterator = parameters.entrySet().iterator(); iterator.hasNext();) { Map.Entry en

Re: Newbie Q: How to set session object parameters in struts.xml

2008-06-24 Thread Dave Newton
--- On Tue, 6/24/08, John Smith <[EMAIL PROTECTED]> wrote: > Does the syntax ${something} retrieve the object from the session? No. The previous answer, implementing SessionAware, was one of the correct answers. Dave - To unsu

Re: Newbie Q: How to set session object parameters in struts.xml

2008-06-24 Thread John Smith
I have implemented sessionAware and the process works for a static string but it doesn't work for objects :( So I have the following in my struts.xml: true hello ${something} out.jsp the "test" param works fine which is a simple s

Re: Newbie Q: How to set session object parameters in struts.xml

2008-06-24 Thread Lukasz Lenart
Hi, > Is it possible to set session objects inside and action and access the > session object in another action without explicitly retrieving the > session object? Implement SessionAware interface with yours actions and put and get value from that map ;-) Regards -- Lukasz http://www.lenart.or