you could have a /user/add and a /user/update. If you're reusing the same form then have the action as a variable.

cheers mark

On 15 Jan 2004, at 21:01, Ciaran Hanley wrote:

Hey,

Is it possible to use the same action path for two different inputs

<action path="/user"
        type="com.myweb.application.actions.UserAction"
        name="userForm"
        scope="request"
  input="?"
        attribute="userForm" />

Id like the input to come from addUser.jsp if its an add and updateUser
if its an update.

input="/addUser.jsp" or input="/updateUser.jsp"

Is there anyway to accomplish this?

Thanks,
Ciaran


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



Reply via email to