struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <lukasz.len...@googlemail.com>
Subject Re: Action redirect?
Date Tue, 16 Sep 2008 11:56:03 GMT
Hi

2008/9/16 Narayana S <narayanasgs1@gmail.com>:
> is your remove method is returning SUCCESS? if yes .. you need to give
> result name also as...
> <action name="remove" method="remove" class="siteAction">
>          <result type="redirectAction" name="success">list</result>
>
>> </action>

Not exactly, SUCCESS is the default result name so below example will
also work as expected

>> <action name="remove" method="remove" class="siteAction">
>>           <result type="redirectAction">list</result>
>> </action>


Regards
--
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message