The only really objection not to routing your request through a mapping is that you expose your jsp's to the user. But this often isn;t a problem for some folks.
If you want to pre-populate your form then you can map the form to the referring action so you can mess with it before the user is forwarded to the form.
On 13 Jan 2004, at 15:58, Vanessa Monteiro wrote:
Hello everyone,
I'm having trouble understanding the mapping tags of struts-config.xml.
I have one simple jsp form and one form and one action to take care of it. In my /pages/form.jsp I have a <html:form pointing to my do/action.
My action-mapping is path=/action and I'm putting no input value. So to get to my form I link to /pages/form.jsp or do I need and action to point to the unsubmitted form?
Vanessa.
--------------------------------------------------------------------- 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]