That is a cut and paste error.  Sorry about that.  I've fixed it below.

The way I can find around this right now is to do some manual bean setting
for the form and not use the html:form tag.  Any thoughts, anyone?


-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow
Sent: Monday, October 25, 2004 12:46 PM
To: [EMAIL PROTECTED]
Subject: Re: html:form doesn't return action

I don't know if this is a cut-and-paste error but you are missing a '>' 
in your action mapping after ' parameter="method" '

Carl F. Hall wrote:

> Whenever I use html:form, I only get the name of the context as the
action.
> What would cause the action to not return correctly?  See below for my
> specific case.  Thank you in advance for any help.
> 
> This code:
> <html:form action="/ManageAgent">
> 
> Returns this:
> <form name="agentForm" method="post" action="/">
> 
> My ActionMapping for is:
> <action
>       path="/ManageAgent"
>       type="com.crownga.actions.AgentAction"
>       scope="request"
>       name="agentForm"
>       input="/admin/ManageAgent.jsp"
>       parameter="method"
> >
>       <forward
>               name="editSuccess"
>               path="/admin/ManageAgent.jsp" />
>       <forward
>               name="success"
>               path="/ListAgents.do?method=listAll"
>               redirect="true" />
>       <forward
>               name="failure"
>               path="/admin/ManageAgent.jsp" />
> </action>
> 
> 
>  
> Carl F. Hall
> [EMAIL PROTECTED]


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


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

Reply via email to