Following the example validator application, I make a simple action config
like so:

<!--  Contact Action -->
                <action path="/contact" forward="/contact.jsp" /> 
                <action path="/contact-submit" 
type="com.mycompany.actions.ContactAction" 
                        name="contactForm" scope="request" validate="true" 
input="input-form">
                        <forward name="input-form" path="/contact.do" />
                        <forward name="success" path="/contacted.jsp" />
                </action>


I have the validator plugin turned on and validating the form. If I submit
it with no form values filled in, then I get the following exception:

java.lang.IllegalArgumentException: Path input-form does not start with 
a "/" character

The reason?  The action's input attribute is set to the value "input-form".  
This simply references the forward named "input-form", just like the example.
But the validator plugin errors out because the "input-form" does not start
with a "/".

Changing the input attribute and forward name to "/input-form" does not 
help because it then tries the literal URI "/input-form" and I then get 
a 404 with:

The requested resource (/input-form) is not available.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to