It works fine. Thank you Alex, thank you Lukasz.

2008/9/23 Gianluca Musella <[EMAIL PROTECTED]>:
> ok, it sounds better.
>
> thank you Lukasz
>
>
> 2008/9/23 Lukasz Lenart <[EMAIL PROTECTED]>:
>>>        <action name="login"
>>> class="org.almayer.web.action.SessionAction" method="login">
>>>            <result name="redirect" 
>>> type="redirectAction">${redirectTo}</result>
>>>        </action>
>>>
>>> This is the login action's method (I omitt logic):
>>>
>>>    public String login() throws Exception {
>>>            return "home";
>>>    }
>>>
>>
>> You have to add getter
>>
>> String getRedirectTo() {
>>  return this.redirectTo;
>> }
>>
>> and in login() method
>>
>> public String login() throws Exception {
>>  this.redirectTo = "home";
>>  return "redirect";
>> }
>>
>>
>> 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