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:

        <action name="blah"
            class="blahAction">
            <param name="parse">true</param>
            <param name="test">hello</param>
            <param name="something">${something}</param>
            <result>out.jsp</result>
        </action>

the "test" param works fine which is a simple string but the the other
param "something" does not work.

Does the syntax ${something} retrieve the object from the session?




On Tue, Jun 24, 2008 at 11:10 AM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> 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.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to