Oh, thank you Lukasz. So, I just return string, I don't need to use
predefiend Action.SUCCESS, etc.

--
Thx, Milan


Lukasz Lenart wrote:
> 
>> No, I haven't. But, how do I choose "result1" or "result2" from
>> InputActions'
>> "save" method ?
> 
> Base on the result from execute()
> 
> public String execute() {
>   if (something) {
>     return "result1";
>   } else {
>     return "result2";
>   }
> }
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Simple-forking-tp18240640p18244857.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