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]