struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Berruchon <>
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 
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...


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message