S
Sergio
Hello:
I am using struts 1.1. I would like to use the Validator Framework. My
action class DocumentManagerAction derive from DispathAction so I have
several method on it.
I have 3 method in the DocumentManagerAction class.
1) addDocument
2) updateDocument
3) deleteDocument
In my struts-config.xml I wrote
<action input="/home.jsp" name="documentActionForm" parameter="method"
path="/documentManagerAction" scope="request"
type="com.cubika.nac100.ui.DocumentManagerAction" validate="true">
<forward name="success" path="/home.jsp" redirect="true" />
</action>
Then I would like to define a different validation rule for each of
the calling method.
Does anybody know how I can do it or have a reference to read about
it?
Thank you
Sergio Josiowicz
I am using struts 1.1. I would like to use the Validator Framework. My
action class DocumentManagerAction derive from DispathAction so I have
several method on it.
I have 3 method in the DocumentManagerAction class.
1) addDocument
2) updateDocument
3) deleteDocument
In my struts-config.xml I wrote
<action input="/home.jsp" name="documentActionForm" parameter="method"
path="/documentManagerAction" scope="request"
type="com.cubika.nac100.ui.DocumentManagerAction" validate="true">
<forward name="success" path="/home.jsp" redirect="true" />
</action>
Then I would like to define a different validation rule for each of
the calling method.
Does anybody know how I can do it or have a reference to read about
it?
Thank you
Sergio Josiowicz