> i.e.
> Do I need to put ContactForm instead of 'contacts' for path...
> 
>  <action path="/contacts"
>                type="com.db.gcp.lemweb.blotter.servlets.ContactAction"
>                name="contactForm"
>                input="/viewcontactlist.jsp"
>                scope="request">
>    </action>


No, "contacts" is the URL that the browser asks for to invoke your
"ContactAction" class. "ContactForm" is the FormBean (explicitly defined
elsewhere in the struts-config.xml file) that will be passed to the
ContactAction class. Therefore, ContactForm should be the form bean used by
the form in viewcontactlist.jsp.

--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to