At 3:32 PM -0500 2/7/05, Jeff Beal wrote:
I looked at the source of the RequestProcessor.processValidate() method, and it certainly doesn't look like there's any way to redirect on validation error without modifying the behavior there.

I think that if in your <controller> element in Struts config, you use: <set-property property="inputForward" value="true" />

then Struts will do a "mapping.findForward(input)" upon validation failure. This forward could be defined with "redirect='true'"

That doesn't help with getting the errors stored in session scope instead of request scope, though.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


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



Reply via email to