struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: dispatch action / validation
Date Wed, 01 Sep 2004 17:37:50 GMT


> -----Original Message-----
> From: andmer@MUZE.com [mailto:andmer@MUZE.com]
> Sent: Wednesday, September 01, 2004 10:29 AM
> To: struts-user@jakarta.apache.org
> Subject: dispatch action / validation
> 
> 
> Is there a way for dispatch actions to have unique validation 
> requirements
> based on the parameter?
> 
> So for instance I could have the action.do?method=view dispatch skip
> validation, but the action.do?method=edit do the validation? 
> 
>  
> 
> Do dispatch actions and validation allow for this degree of 
> granularity?

No, the dispatch action doesn't.... the action defintion does however.  You do it in the struts-config.xml
when you map the url.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message