Is it possible to derive the <form> action name from the action mapping that called the JSP? Like: <html:form action="${actionName}" method="post"> I have 2 different actions that calls a JSP page. I want each of them to submit to the respective action I.e action1 gets submitted to action1.do, and action2 get submitted to action2.do Is this possible? --- Thanks Mick Knutson http://www.baselogic.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax --- --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org
I don't believe you can... What I end up doing is make the form submit to a common dispatch action that then forwards to either action1 or action2... daniel ----- Original Message ----- From: "Mick Knutson" <mi...@hotmail.com> To: "struts" <st...@jakarta.apache.org> Sent: Tuesday, September 16, 2003 7:22 PM Subject: derrive the <form> action name from the action mapping that called the JSP > Is it possible to derive the <form> action name from the action mapping that > called the JSP? > Like: > <html:form action="${actionName}" method="post"> > > I have 2 different actions that calls a JSP page. I want each of them to > submit to the respective action > I.e action1 gets submitted to action1.do, and action2 get submitted to > action2.do > > Is this possible? > > --- > Thanks > Mick Knutson > http://www.baselogic.com > > +001(805) 563-0666 Office > +001 (708) 570-2772 Fax > --- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org