I already gave you my action configuration:

<action name="show" class="mySecondAction"> 
        <!-- Redirect to another namespace --> 
        <result type="redirect-action"> 
              show
              /actions
              true
                   ${id}
         </result> 
</action> 


and here it is how it is called from jsp:

<s:url id="connectUrl" action="show">
        s:param name="id" value="id" />
</s:url>
<s:a id="d_%{id}" href="%{connectUrl}">Show</s:a>

--
Regards, Milan


Milan Milanovic wrote:
> 
> Al ?!
> 
> Dave, I cannot give you all that info, because of two things, first my
> classes
> and jsp-s are pretty complex, and not in english! So, I narrowed my
> scenario
> to this, my variable is in session -> when redirect action is clicked,
> there is no
> variable in session any more! It's seems like that redirect action doesn't
> pass
> or set session to another action class.
> 
> --
> Regards, Milan
> 
> 
> 
> Al Sutton wrote:
>> 
>> Dave,
>> 
>> Repeat after me;
>> 
>> It's Friday. It's nearly the weekend. And if they don't give me what I 
>> want I'm going to take my toys away and stop playing :).
>> 
>> Al.
>> 
>> Dave Newton wrote:
>>> --- On Fri, 8/1/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
>>>   
>>>> Yes, I understand. But I don't remove session variable
>>>> or call invalidate anymore, and when my variable is stored 
>>>> during the whole scenario and when I click to this redirect 
>>>> I get lost of my variable.
>>>>     
>>>
>>> Then provide the artifacts I requested so people can look at it--how do
>>> you expect anybody to diagnose your problem if you don't provide what's
>>> necessary?
>>>
>>> Dave
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>   
>> 
>> 
>> -- 
>> --
>> Al Sutton
>> 
>> W: www.alsutton.com
>> T: twitter.com/alsutton
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18777073.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to