I don't think "input" accepts dynamcic values, but you can do the following to accomplish the same thing. You can define two forwards instead inside your action mapping, say,
<forward name="addInput" path="/addUser.jsp" /> <forward name="updateInput" path="/updateUser.jsp" /> And in your action class, check for the existence of errors, and based on which page you're from, forward to the corresponding input page as defined above. Hope this helps. Saul -----Original Message----- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 4:02 PM To: Struts User Mailing List Subject: <action-path> question 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]