Sure that is one way to do it.

Rick Hightower
Developer

Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm
Struts/J2EE consulting --
http://www.arc-mind.com/consulting.htm#StrutsMentoring

-----Original Message-----
From: David Liles [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 8:12 AM
To: [EMAIL PROTECTED]
Subject: DispatchAction question


I just started working on an app and my action classes extend
DisptachAction. I was wondering if there will be a problem if my action
class supports multiple forms....


** The same action can support multiple ActionForms as it can be mapped in
several times.

The action mapping in the struts-config.xml file has an input attribute
indicating which jsp the request came from.... what happens if the action
supports multiple forms? Do I need to create an action mapping for each form
that maps to the same action class... that way each mapping can have its own
input reference?

** This is the most straight forward way to do it. There are other ways,
but....

Thanks


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

Reply via email to