> The forward attribute of your action mappings can point to another action mapping.  
> Would that do the trick for you?
I suppose it would.  How would struts know which mapping I wanted to go
to in the case of validation errors?  Would I just add a forward with
the same name as the input form or something?


> Yes, just set validate="false" in your mappings and call validate() on the form you 
> have in execute() of your Action.  It's just another method, nothing special about 
> it, just handle whatever ActionErrors it gives you back and you should be all set.
I think this would be ideal for me and easy to fit into my current
architecture.  It gives the best of both worlds, I can still use
completely automated validation for any form that doesn't require me to
preload data, and still use the framework on those that do.  I could
just check to see if there are any errors and call my setup() method in
my action to build the page context before I forward.

If you happen to know the answers to my questions in the first section
above, I'd still be curious just to learn a bit more about struts, even
though I'll likely adopt the 2nd approach.

Thank you all very much for your comments and ideas.
gary.



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

Reply via email to