It would appear that you can not maintain saved errors in the http 
request across a forward to an action before displaying it on a .jsp page.

The following diagram helps to illustrate:
X - action 1
Y - action 2
J - view (jsp page)

X -> Y -> J

If an ActionErrors instance is created, an ActionError instance is added 
to it and then is saved into the request using saveErrors(request, 
errors) in Action X and then Action X forwards the request to Action Y 
which does something else (not related to errors) and then is forwarded 
to the jsp page J where there is an <html:errors /> tag the errors no 
longer exist and are lost at this point so far as I can tell.

If the action X forwards directly to page J this does not happen the 
errors are delivered successfully and displayed.

Can anyone tell me a way around this?  It really sucks especially if 
your using an Action to direct requests to dynamic views.

Thanks



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to