struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <>
Subject Re: Dynamic Result Selection
Date Sat, 19 Nov 2011 07:51:17 GMT
Hello Rohan,

On Sat, Nov 19, 2011 at 8:44 AM, rohan jamkhedkar
<> wrote:
> <result name="success">%{nextPage}</result>

try to add these results too:

<result name="input">%{nextPage}</result>
<result name="error">%{nextPage}</result>

Input is what is returned when some input is missing, error in case an
error happens.
Please also see the class ActionSupport, were these String constants
are defined. To use it, extend ActionSupport and return for example:
return SUCCESS;

Of course you don't need to use ActionSupport, but I think it is a good idea :-)



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message