Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LookupDispatch action

Status
Not open for further replies.

abbyss

Programmer
Joined
Jan 17, 2006
Messages
1
Location
CA
Hi,

For one of the methods my lookupdispatch action doesnt work.

Struts-config.xml
-------------------
<action
name="stopPaymentsDisplayForm"
path="/secured/stoppayments/stopPaymentRemove"
scope="request"
type="com.scotiabank.sco.web.actions.stoppayments.StopPaymentsRemoveAction"
validate="true"
parameter="submit">
<forward name="success" path="masterLayoutRemove"/>
</action>


Action
--------
protected Map getKeyMethodMap() {
System.out.println("-===============StopPaymentsRemoveAction==============");
Map map = new HashMap();
map.put("button.remove", "remove");
map.put("button.select", "select");

return map;
}

and remove method


In Jsp
-------
<html:form name="stopPaymentsDisplayForm" action="/secured/stoppayments/stopPaymentRemove" type="com.scotiabank.sco.web.forms.stoppayments.StopPaymentsDisplayForm">

<html:submit property="submit" styleClass="formSubmission"><fmt:message key="button.remove" /></html:submit>

</html:form>



Similar stuff works for other method but for this one it doesnt work.

[17/01/06 18:28:29:031 EST] 49d6f896 DispatchActio E org.apache.struts.actions.DispatchAction Request[/secured/stoppayments/stopPaymentRemove] does not contain handler parameter named submit

Any help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top