1. The action attribute of the form tag should point to the action that will process the form upon submission. In your case, it looks like it would be "/updateCustomer", but I'm just guessing.
2. I usually just put <html:submit value="Submit"/> or "Save" or something similar there because I usually have only one submit button. If you're asking because you read something about this button mapped to that method, that's LookupDispatchAction. MappingDispatchAction is a lot easier to deal with when it comes to mapping methods, IMO. :) Hubert On Thu, 23 Sep 2004 15:26:56 +0100 (BST), O. Oke <[EMAIL PROTECTED]> wrote: > Please help! > > I have a class that extends MappingDispatchAction > class > . This class has, they are below: > > <action path="/getCustomer" > type="com.fujimitsu.cargo.gen.CustomerAction" > name="cargoForm" > scope="request" > validate="false" > input=".customerDef.jsp" > parameter="getCustomer"> > <forward name="success" path=".customerDef.jsp" /> > </action> > > <action path="/updateCustomer" > type="com.fujimitsu.cargo.gen.CustomerAction" > name="cargoForm" scope="request" > validate="true" > input=".customerDef.jsp" > parameter="updateCustomer"> > <forward name="success" path=".customerDef.jsp" /> > </action> > > My question: > 1. In my JSP, what what should be the value of the > action attribute of html:form > i.e. <html:form action="??????????"> (i.e. which > mapping should be specified here)? > > 2. what should the code of the button for excuting > getCustomer method be? > i.e. <html:submit ??????????????? > > Thank you. > > ___________________________________________________________ALL-NEW Yahoo! Messenger > - all new features - even more fun! http://uk.messenger.yahoo.com > > --------------------------------------------------------------------- > 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]