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]



Reply via email to