You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andy Kriger <ak...@greaterthanone.com> on 2004/01/27 20:45:53 UTC

form validation question

I am having a curious problem with form validation. I submit a form, see in
the logs that the form fails to validate, however, the webapp does not
return to the input page (I get a blank page with no HTML in it), so I do
not see the form with error messages as expected. If I put text in the
field, the form does submit correctly and I see the JSP specified in the
resulting action chain. The log files have no error messages indicating
something is amiss. When validation fails, the subsequent action is
definitely not running (I do not see the logging in the execute method).

Does anyone have any ideas what could be happening here? 
Or how I can track down the problem?
Below is the relevant info...

=== STRUTS CONFIG ===

<action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
		
<action path="/SubmitOrder" 		
	 type="MyClass"
	 name="orderForm" 
	 validate="true" 
	 input="/OrderForm.do"
	 scope="request">
	<forward name="success" path="/OrderThanks.do"/>
</action>
		
<action path="/OrderThanks" parameter="/web/orderThanks.jsp"
type="org.apache.struts.actions.ForwardAction"/>

=== orderForm.jsp ===
<logic:messagesPresent>
	<html:messages id="err">
		<%=err%><br/>
	</html:messages>
</logic:messagesPresent>

<html:form action="SubmitOrder.do">
	<html:text property="firstName" styleId="firstName" size="20"/>
	<html:submit value="Press Me"/>
</html:form>

=== VALIDATION CONFIG ===
<form name="orderForm">
	<field property="firstName" depends="required">
		<arg0 key="orderForm.firstName.label" name="required" />
	</field>
</form>

=== LOG MESSAGES ===
[org.apache.struts.action.RequestProcessor][RequestProcessor    ]
Validating input form properties
[org.apache.struts.action.RequestProcessor][RequestProcessor    ]
Validation failed, returning to '/OrderForm.do'



Andy Kriger | Software Mechanic | Greater Than One, Inc.
28 West 27th Street | 7th Floor | New York, NY 10001
P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com 


RE: form validation question

Posted by Andy Kriger <ak...@greaterthanone.com>.
It didn't make any difference if I used an action or the JSP for the input
attribute. 

-----Original Message-----
From: Geeta Ramani [mailto:geeta.ramani@cmpco.com] 
Sent: Tuesday, January 27, 2004 6:55 PM
To: Struts Users Mailing List
Subject: Re: form validation question

Ok, maybe, I'd have to check into struts code to really be
certain....("input"
surely has some significance is what i'm thinking..) So just for the heck of
it though, what happens if you do say "/web/forms/orderForm.jsp" instead?

Andy Kriger wrote:

> OrderForm.do = /web/forms/orderForm.jsp That shouldn't make a 
> difference. I like to refer to actions rather than JSPs to minimize 
> the number of things I have to change if a JSP changes to a different 
> JSP or to another action.
>
> -----Original Message-----
> From: Geeta Ramani [mailto:geeta.ramani@cmpco.com]
> Sent: Tuesday, January 27, 2004 3:27 PM
> To: Struts Users Mailing List
> Subject: Re: form validation question
>
> Andy:
>
> Any reason why you have the unusual "input" param..?
>
> <action path="/SubmitOrder"
> >          type="MyClass"
> >          name="orderForm"
> >          validate="true"
> >          input="/OrderForm.do"
> >          scope="request">
> >         <forward name="success" path="/OrderThanks.do"/> </action>
> >
>
> I woud have thought you'd use this instead:
>
> <action path="/SubmitOrder"
> >          type="MyClass"
> >          name="orderForm"
> >          validate="true"
> >          input="/web/forms/orderForm.jsp"
> >          scope="request">
> >         <forward name="success" path="/OrderThanks.do"/> </action>
> >
>
> Regards,
> Geeta
>
> >
> > Andy Kriger wrote:
> >
> > > I am having a curious problem with form validation. I submit a 
> > > form, see in the logs that the form fails to validate, however, 
> > > the webapp does not return to the input page (I get a blank page 
> > > with no HTML in it), so I do not see the form with error messages 
> > > as expected. If I put text in the field, the form does submit 
> > > correctly and I see the JSP specified in the resulting action 
> > > chain. The log files have no error messages indicating something 
> > > is amiss. When validation fails, the subsequent action is 
> > > definitely not running (I do not see the
> logging in the execute method).
> > >
> > > Does anyone have any ideas what could be happening here?
> > > Or how I can track down the problem?
> > > Below is the relevant info...
> > >
> > > === STRUTS CONFIG ===
> > >
> > > <action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
> > >
> > > <action path="/SubmitOrder"
> > >          type="MyClass"
> > >          name="orderForm"
> > >          validate="true"
> > >          input="/OrderForm.do"
> > >          scope="request">
> > >         <forward name="success" path="/OrderThanks.do"/> </action>
> > >
> > > <action path="/OrderThanks" parameter="/web/orderThanks.jsp"
> > > type="org.apache.struts.actions.ForwardAction"/>
> > >
> > > === orderForm.jsp ===
> > > <logic:messagesPresent>
> > >         <html:messages id="err">
> > >                 <%=err%><br/>
> > >         </html:messages>
> > > </logic:messagesPresent>
> > >
> > > <html:form action="SubmitOrder.do">
> > >         <html:text property="firstName" styleId="firstName"
size="20"/>
> > >         <html:submit value="Press Me"/> </html:form>
> > >
> > > === VALIDATION CONFIG ===
> > > <form name="orderForm">
> > >         <field property="firstName" depends="required">
> > >                 <arg0 key="orderForm.firstName.label" name="required"
/>
> > >         </field>
> > > </form>
> > >
> > > === LOG MESSAGES ===
> > > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > > Validating input form properties
> > > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > > Validation failed, returning to '/OrderForm.do'
> > >
> > > Andy Kriger | Software Mechanic | Greater Than One, Inc.
> > > 28 West 27th Street | 7th Floor | New York, NY 10001
> > > P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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


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


Re: form validation question

Posted by Geeta Ramani <ge...@cmpco.com>.
Ok, maybe, I'd have to check into struts code to really be certain....("input"
surely has some significance is what i'm thinking..) So just for the heck of it
though, what happens if you do say "/web/forms/orderForm.jsp" instead?

Andy Kriger wrote:

> OrderForm.do = /web/forms/orderForm.jsp
> That shouldn't make a difference. I like to refer to actions rather than
> JSPs to minimize the number of things I have to change if a JSP changes to a
> different JSP or to another action.
>
> -----Original Message-----
> From: Geeta Ramani [mailto:geeta.ramani@cmpco.com]
> Sent: Tuesday, January 27, 2004 3:27 PM
> To: Struts Users Mailing List
> Subject: Re: form validation question
>
> Andy:
>
> Any reason why you have the unusual "input" param..?
>
> <action path="/SubmitOrder"
> >          type="MyClass"
> >          name="orderForm"
> >          validate="true"
> >          input="/OrderForm.do"
> >          scope="request">
> >         <forward name="success" path="/OrderThanks.do"/> </action>
> >
>
> I woud have thought you'd use this instead:
>
> <action path="/SubmitOrder"
> >          type="MyClass"
> >          name="orderForm"
> >          validate="true"
> >          input="/web/forms/orderForm.jsp"
> >          scope="request">
> >         <forward name="success" path="/OrderThanks.do"/> </action>
> >
>
> Regards,
> Geeta
>
> >
> > Andy Kriger wrote:
> >
> > > I am having a curious problem with form validation. I submit a form,
> > > see in the logs that the form fails to validate, however, the webapp
> > > does not return to the input page (I get a blank page with no HTML
> > > in it), so I do not see the form with error messages as expected. If
> > > I put text in the field, the form does submit correctly and I see
> > > the JSP specified in the resulting action chain. The log files have
> > > no error messages indicating something is amiss. When validation
> > > fails, the subsequent action is definitely not running (I do not see the
> logging in the execute method).
> > >
> > > Does anyone have any ideas what could be happening here?
> > > Or how I can track down the problem?
> > > Below is the relevant info...
> > >
> > > === STRUTS CONFIG ===
> > >
> > > <action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
> > >
> > > <action path="/SubmitOrder"
> > >          type="MyClass"
> > >          name="orderForm"
> > >          validate="true"
> > >          input="/OrderForm.do"
> > >          scope="request">
> > >         <forward name="success" path="/OrderThanks.do"/> </action>
> > >
> > > <action path="/OrderThanks" parameter="/web/orderThanks.jsp"
> > > type="org.apache.struts.actions.ForwardAction"/>
> > >
> > > === orderForm.jsp ===
> > > <logic:messagesPresent>
> > >         <html:messages id="err">
> > >                 <%=err%><br/>
> > >         </html:messages>
> > > </logic:messagesPresent>
> > >
> > > <html:form action="SubmitOrder.do">
> > >         <html:text property="firstName" styleId="firstName" size="20"/>
> > >         <html:submit value="Press Me"/> </html:form>
> > >
> > > === VALIDATION CONFIG ===
> > > <form name="orderForm">
> > >         <field property="firstName" depends="required">
> > >                 <arg0 key="orderForm.firstName.label" name="required" />
> > >         </field>
> > > </form>
> > >
> > > === LOG MESSAGES ===
> > > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > > Validating input form properties
> > > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > > Validation failed, returning to '/OrderForm.do'
> > >
> > > Andy Kriger | Software Mechanic | Greater Than One, Inc.
> > > 28 West 27th Street | 7th Floor | New York, NY 10001
> > > P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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


RE: form validation question

Posted by Andy Kriger <ak...@greaterthanone.com>.
OrderForm.do = /web/forms/orderForm.jsp
That shouldn't make a difference. I like to refer to actions rather than
JSPs to minimize the number of things I have to change if a JSP changes to a
different JSP or to another action.

-----Original Message-----
From: Geeta Ramani [mailto:geeta.ramani@cmpco.com] 
Sent: Tuesday, January 27, 2004 3:27 PM
To: Struts Users Mailing List
Subject: Re: form validation question

Andy:

Any reason why you have the unusual "input" param..?

<action path="/SubmitOrder"
>          type="MyClass"
>          name="orderForm"
>          validate="true"
>          input="/OrderForm.do"
>          scope="request">
>         <forward name="success" path="/OrderThanks.do"/> </action>
>

I woud have thought you'd use this instead:

<action path="/SubmitOrder"
>          type="MyClass"
>          name="orderForm"
>          validate="true"
>          input="/web/forms/orderForm.jsp"
>          scope="request">
>         <forward name="success" path="/OrderThanks.do"/> </action>
>

Regards,
Geeta

>
> Andy Kriger wrote:
>
> > I am having a curious problem with form validation. I submit a form, 
> > see in the logs that the form fails to validate, however, the webapp 
> > does not return to the input page (I get a blank page with no HTML 
> > in it), so I do not see the form with error messages as expected. If 
> > I put text in the field, the form does submit correctly and I see 
> > the JSP specified in the resulting action chain. The log files have 
> > no error messages indicating something is amiss. When validation 
> > fails, the subsequent action is definitely not running (I do not see the
logging in the execute method).
> >
> > Does anyone have any ideas what could be happening here?
> > Or how I can track down the problem?
> > Below is the relevant info...
> >
> > === STRUTS CONFIG ===
> >
> > <action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
> >
> > <action path="/SubmitOrder"
> >          type="MyClass"
> >          name="orderForm"
> >          validate="true"
> >          input="/OrderForm.do"
> >          scope="request">
> >         <forward name="success" path="/OrderThanks.do"/> </action>
> >
> > <action path="/OrderThanks" parameter="/web/orderThanks.jsp"
> > type="org.apache.struts.actions.ForwardAction"/>
> >
> > === orderForm.jsp ===
> > <logic:messagesPresent>
> >         <html:messages id="err">
> >                 <%=err%><br/>
> >         </html:messages>
> > </logic:messagesPresent>
> >
> > <html:form action="SubmitOrder.do">
> >         <html:text property="firstName" styleId="firstName" size="20"/>
> >         <html:submit value="Press Me"/> </html:form>
> >
> > === VALIDATION CONFIG ===
> > <form name="orderForm">
> >         <field property="firstName" depends="required">
> >                 <arg0 key="orderForm.firstName.label" name="required" />
> >         </field>
> > </form>
> >
> > === LOG MESSAGES ===
> > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > Validating input form properties
> > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > Validation failed, returning to '/OrderForm.do'
> >
> > Andy Kriger | Software Mechanic | Greater Than One, Inc.
> > 28 West 27th Street | 7th Floor | New York, NY 10001
> > P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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


Re: form validation question

Posted by Geeta Ramani <ge...@cmpco.com>.
Andy:

Any reason why you have the unusual "input" param..?

<action path="/SubmitOrder"
>          type="MyClass"
>          name="orderForm"
>          validate="true"
>          input="/OrderForm.do"
>          scope="request">
>         <forward name="success" path="/OrderThanks.do"/>
> </action>
>

I woud have thought you'd use this instead:

<action path="/SubmitOrder"
>          type="MyClass"
>          name="orderForm"
>          validate="true"
>          input="/web/forms/orderForm.jsp"
>          scope="request">
>         <forward name="success" path="/OrderThanks.do"/>
> </action>
>

Regards,
Geeta

>
> Andy Kriger wrote:
>
> > I am having a curious problem with form validation. I submit a form, see in
> > the logs that the form fails to validate, however, the webapp does not
> > return to the input page (I get a blank page with no HTML in it), so I do
> > not see the form with error messages as expected. If I put text in the
> > field, the form does submit correctly and I see the JSP specified in the
> > resulting action chain. The log files have no error messages indicating
> > something is amiss. When validation fails, the subsequent action is
> > definitely not running (I do not see the logging in the execute method).
> >
> > Does anyone have any ideas what could be happening here?
> > Or how I can track down the problem?
> > Below is the relevant info...
> >
> > === STRUTS CONFIG ===
> >
> > <action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
> >
> > <action path="/SubmitOrder"
> >          type="MyClass"
> >          name="orderForm"
> >          validate="true"
> >          input="/OrderForm.do"
> >          scope="request">
> >         <forward name="success" path="/OrderThanks.do"/>
> > </action>
> >
> > <action path="/OrderThanks" parameter="/web/orderThanks.jsp"
> > type="org.apache.struts.actions.ForwardAction"/>
> >
> > === orderForm.jsp ===
> > <logic:messagesPresent>
> >         <html:messages id="err">
> >                 <%=err%><br/>
> >         </html:messages>
> > </logic:messagesPresent>
> >
> > <html:form action="SubmitOrder.do">
> >         <html:text property="firstName" styleId="firstName" size="20"/>
> >         <html:submit value="Press Me"/>
> > </html:form>
> >
> > === VALIDATION CONFIG ===
> > <form name="orderForm">
> >         <field property="firstName" depends="required">
> >                 <arg0 key="orderForm.firstName.label" name="required" />
> >         </field>
> > </form>
> >
> > === LOG MESSAGES ===
> > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > Validating input form properties
> > [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> > Validation failed, returning to '/OrderForm.do'
> >
> > Andy Kriger | Software Mechanic | Greater Than One, Inc.
> > 28 West 27th Street | 7th Floor | New York, NY 10001
> > P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

RE: form validation question

Posted by Andy Kriger <ak...@greaterthanone.com>.
I see an empty page - no HTML, no nothing. It's as if the handoff to the
input path never happens, even though the logging informs me that validation
failed and the input path is being returned to. When you say 'a question of
display not working right', what do you have in mind? 

-----Original Message-----
From: Geeta Ramani [mailto:geeta.ramani@cmpco.com] 
Sent: Tuesday, January 27, 2004 3:05 PM
To: Struts Users Mailing List
Subject: Re: form validation question

Andy:

What do you see in the source of the html page..? Maybe it is just a
question of display not working right..?

Geeta

Andy Kriger wrote:

> I am having a curious problem with form validation. I submit a form, 
> see in the logs that the form fails to validate, however, the webapp 
> does not return to the input page (I get a blank page with no HTML in 
> it), so I do not see the form with error messages as expected. If I 
> put text in the field, the form does submit correctly and I see the 
> JSP specified in the resulting action chain. The log files have no 
> error messages indicating something is amiss. When validation fails, 
> the subsequent action is definitely not running (I do not see the logging
in the execute method).
>
> Does anyone have any ideas what could be happening here?
> Or how I can track down the problem?
> Below is the relevant info...
>
> === STRUTS CONFIG ===
>
> <action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
>
> <action path="/SubmitOrder"
>          type="MyClass"
>          name="orderForm"
>          validate="true"
>          input="/OrderForm.do"
>          scope="request">
>         <forward name="success" path="/OrderThanks.do"/> </action>
>
> <action path="/OrderThanks" parameter="/web/orderThanks.jsp"
> type="org.apache.struts.actions.ForwardAction"/>
>
> === orderForm.jsp ===
> <logic:messagesPresent>
>         <html:messages id="err">
>                 <%=err%><br/>
>         </html:messages>
> </logic:messagesPresent>
>
> <html:form action="SubmitOrder.do">
>         <html:text property="firstName" styleId="firstName" size="20"/>
>         <html:submit value="Press Me"/> </html:form>
>
> === VALIDATION CONFIG ===
> <form name="orderForm">
>         <field property="firstName" depends="required">
>                 <arg0 key="orderForm.firstName.label" name="required" />
>         </field>
> </form>
>
> === LOG MESSAGES ===
> [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> Validating input form properties
> [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> Validation failed, returning to '/OrderForm.do'
>
> Andy Kriger | Software Mechanic | Greater Than One, Inc.
> 28 West 27th Street | 7th Floor | New York, NY 10001
> P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com


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


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


Re: form validation question

Posted by Geeta Ramani <ge...@cmpco.com>.
Andy:

What do you see in the source of the html page..? Maybe it is just a question
of display not working right..?

Geeta

Andy Kriger wrote:

> I am having a curious problem with form validation. I submit a form, see in
> the logs that the form fails to validate, however, the webapp does not
> return to the input page (I get a blank page with no HTML in it), so I do
> not see the form with error messages as expected. If I put text in the
> field, the form does submit correctly and I see the JSP specified in the
> resulting action chain. The log files have no error messages indicating
> something is amiss. When validation fails, the subsequent action is
> definitely not running (I do not see the logging in the execute method).
>
> Does anyone have any ideas what could be happening here?
> Or how I can track down the problem?
> Below is the relevant info...
>
> === STRUTS CONFIG ===
>
> <action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
>
> <action path="/SubmitOrder"
>          type="MyClass"
>          name="orderForm"
>          validate="true"
>          input="/OrderForm.do"
>          scope="request">
>         <forward name="success" path="/OrderThanks.do"/>
> </action>
>
> <action path="/OrderThanks" parameter="/web/orderThanks.jsp"
> type="org.apache.struts.actions.ForwardAction"/>
>
> === orderForm.jsp ===
> <logic:messagesPresent>
>         <html:messages id="err">
>                 <%=err%><br/>
>         </html:messages>
> </logic:messagesPresent>
>
> <html:form action="SubmitOrder.do">
>         <html:text property="firstName" styleId="firstName" size="20"/>
>         <html:submit value="Press Me"/>
> </html:form>
>
> === VALIDATION CONFIG ===
> <form name="orderForm">
>         <field property="firstName" depends="required">
>                 <arg0 key="orderForm.firstName.label" name="required" />
>         </field>
> </form>
>
> === LOG MESSAGES ===
> [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> Validating input form properties
> [org.apache.struts.action.RequestProcessor][RequestProcessor    ]
> Validation failed, returning to '/OrderForm.do'
>
> Andy Kriger | Software Mechanic | Greater Than One, Inc.
> 28 West 27th Street | 7th Floor | New York, NY 10001
> P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com


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


RE: form validation question

Posted by Andy Kriger <ak...@greaterthanone.com>.
Looks like there is a functional change or bug in the action input attribute
in Struts 1.1 - a forward name must be used instead of the location of a JSP
or Action. Not sure why this change happened between 1.1RC and 1.1rel -
maybe someone on the Struts dev team can answer?

-----Original Message-----
From: Andy Kriger [mailto:akriger@greaterthanone.com] 
Sent: Tuesday, January 27, 2004 2:46 PM
To: Struts Users Mailing List
Subject: form validation question

I am having a curious problem with form validation. I submit a form, see in
the logs that the form fails to validate, however, the webapp does not
return to the input page (I get a blank page with no HTML in it), so I do
not see the form with error messages as expected. If I put text in the
field, the form does submit correctly and I see the JSP specified in the
resulting action chain. The log files have no error messages indicating
something is amiss. When validation fails, the subsequent action is
definitely not running (I do not see the logging in the execute method).

Does anyone have any ideas what could be happening here? 
Or how I can track down the problem?
Below is the relevant info...

=== STRUTS CONFIG ===

<action path="/OrderForm" forward="/web/forms/orderForm.jsp" />
		
<action path="/SubmitOrder" 		
	 type="MyClass"
	 name="orderForm" 
	 validate="true" 
	 input="/OrderForm.do"
	 scope="request">
	<forward name="success" path="/OrderThanks.do"/> </action>
		
<action path="/OrderThanks" parameter="/web/orderThanks.jsp"
type="org.apache.struts.actions.ForwardAction"/>

=== orderForm.jsp ===
<logic:messagesPresent>
	<html:messages id="err">
		<%=err%><br/>
	</html:messages>
</logic:messagesPresent>

<html:form action="SubmitOrder.do">
	<html:text property="firstName" styleId="firstName" size="20"/>
	<html:submit value="Press Me"/>
</html:form>

=== VALIDATION CONFIG ===
<form name="orderForm">
	<field property="firstName" depends="required">
		<arg0 key="orderForm.firstName.label" name="required" />
	</field>
</form>

=== LOG MESSAGES ===
[org.apache.struts.action.RequestProcessor][RequestProcessor    ]
Validating input form properties
[org.apache.struts.action.RequestProcessor][RequestProcessor    ]
Validation failed, returning to '/OrderForm.do'



Andy Kriger | Software Mechanic | Greater Than One, Inc.
28 West 27th Street | 7th Floor | New York, NY 10001
P: 212.252.7197 | F: 212.252.7364 | E: akriger@greaterthanone.com 



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