I have a question about using the Jakarta Commons Validator with Struts. I am using a DispatchAction (org.apache.struts.actions.DispatchAction) to perform basic CRUD functions, as well as several others (import, export, etc.) using a single action class. The problem enters in when I need to selectively validate certain dispatch methods, but not others. I'm not sure how (or if) this can be accomplished, since setting the "validate" attribute of the mapping to true will run things through the validator with every hit on the action (regardless of the dispatch method that is being executed). Is there a good solution to this without creating an additional mapping in struts-config.xml? I've got many such dispatch actions in my application, and having to create a validating and non-validating mapping for each would be entirely too cumbersome.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
