Suzanne Rizzo wrote:
I don't know if this is a good practice or not, but my app uses two
entries in struts-config. One with validate="true" and one with
validate="false".
I 've never actually used the validate="true" in my code; I have an
action superclass that checks for the request type. If it's a GET, I do
anything I need to then forward to the JSP. If it's a POST, I run
validation manually then continue on. (I POST all form submissions out
of habit.)
It's a little more work in the code, I suppose, but since it's a
superclass I don't really think about it anymore. That might be another
way around the issue without any link fixup/etc. as long as you're
POSTing to the same action that shows the form.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]