input is really more where it goes back to rather than where it came from. You can make it go back to wherever you like by the appropriate use of forward classes.

At 02:32 PM 1/15/2004, you wrote:
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]





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



Reply via email to