sajidbigler wrote:
>
> Hi Greg,
>
> its like there are two scenarios
>
> 1.When i do Ajax call if there is no user available i will allow him to
> register if not i will need to show an error.i in action add action errors
> which wont me shown to user instead they will be as part of output
> response to Ajax call
>
> 2.Here we are not going to have any Ajax request no ajax at all simply
> when a request is send we redirectAction to another jsp here no errors are
> shown.lets say jsp1 invokes a call to action1 and action1 maps to another
> action2 which will display jsp2.
>
Sorry, I can't understand what you are talking about in scenario 1, on a
redirect result there is no output response except the http redirect
command.
For scenario 2, you still haven't provided enough info to help you.
- What's your interceptor stack look like? Does it include the 'workflow'
interceptor?
- How is your action configured? does it include a result with name="input"?
- What's your result jsp look like? does it include anything to display
errors or messages?
Also what steps have you done to try and resolve the problem? Have you
stepped through these scenarios in a debugger?
You should include at a minimum your struts configuration (struts.xml) and
jsp file.
--
View this message in context:
http://www.nabble.com/Actionerror%27s-wont-be-shown-when-ajax-call-or-when-we-do-type%3D%22redirectAction%22-using-struts2.1.6-tp22490692p22504072.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org