I need to define a custom input for method in the same action. 

 

For example, I have the "methodA"  that receive the information from
inputA.jsp 

I have "methodB" that receive from inputB.jsp

I use the validation for each one: 

 

classAction_methodA-validation.xml

classAction_methodB-validation.xml

 

The problem occurs  when  the validations fails(some input field is
wrong) and need to redirect to the input. In this case are two inputs in
the same Action but in different methods... In some way to say to the
action the default input.

 

Something like:

<result name="inputA">inputA.jsp</result>

 

<result name="inputB">inputB.jsp</result>

 

<result name="input">inputDefault.jsp</result>  (Other method by default
use the input)

 

 

But he validations understands to which input goes.  

 

Manuel Correa.

 

Reply via email to