Hi Christian,
        Thank you for your response. I had actually defined all three results, 
success, input and error and My class did extend ActionSupport. But the problem 
was, whenever an error occurred during Interceptor invocation, framework would 
try to find value of nextPage. As action is not executed it would not find 
nextPage on valueStack. So I want to know is there any way of getting around 
this problem? Can I specify value for nextPage before any interceptor is 
invoked?

Thanks & Regards,
Rohan


>________________________________
> From: Christian Grobmeier <grobme...@gmail.com>
>To: Struts Users Mailing List <user@struts.apache.org>; rohan jamkhedkar 
><rgjamkhed...@yahoo.co.in> 
>Sent: Saturday, 19 November 2011 1:21 PM
>Subject: Re: Dynamic Result Selection
> 
>Hello Rohan,
>
>On Sat, Nov 19, 2011 at 8:44 AM, rohan jamkhedkar
><rgjamkhed...@yahoo.co.in> 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 
>:-)
>
>Cheers
>Christian
>
>
>-- 
>http://www.grobmeier.de
>https://www.timeandbill.de
>
>
>

Reply via email to