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: [S2] Simple forking
Date Wed, 02 Jul 2008 18:14:29 GMT
> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message