struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Berruchon <vincent.berruc...@neo-logism.fr>
Subject Distinct case in validate() with a form used in several page
Date Thu, 26 Sep 2002 14:35:06 GMT
  I'd like to use an actionFormBean with a few JSP form page.
But I'll have to treat different cases in the validate of my 
actionFormBean...
So in validate(), I was thinking about looking at the name of the input 
JSP with ActionMapping.getInput()
( or perhaps the name of the current action to choose the right case, /w 
getType() ).

Is it an acceptable way to do that?
I coulds also use an property of the formBean perhaps...

Thanks


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


Mime
View raw message