struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From and...@MUZE.com
Subject RE: dispatch action / validation
Date Wed, 01 Sep 2004 17:55:44 GMT
Nevermind, looks like MappingDispatchAction in 1.2.2 allows for what I want.
http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction
.html


Thanks,
-Andre
 

-----Original Message-----
From: Jim Barrows [mailto:jbarrows@sssc.com] 
Sent: Wednesday, September 01, 2004 1:38 PM
To: Struts Users Mailing List
Subject: RE: dispatch action / validation



> -----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

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


Mime
View raw message