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. Also, since the ActionErrors from the validate() method are stored in the request scope (something I'd forgotten about), you'd have to figure out how to handle those, too. I'm far from the most expert person on this list, but I do not believe there's a way to do what you want without customizing portions of the framework.

-- Jeff

Chaikin, Yaakov Y. wrote:

Jeff,

Partially, this is my fault... I should have stated this to begin with. Yes,
I am very aware of the problems with doing this and that this has to be kept
in session scope in order for this to work.

My only question was if there is a way to specify this in the
struts-config.xml, using validator framework or anything else, BESIDES,
customizing the processor.

Does anyone know of ANY way, besides customizing the controller, to specify
in some config file so that it redirects, not forwards to the input?

Thanks,
Yaakov.



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



Reply via email to