What about:
<html:form action="/Reg.do"> <c:if ...> <html:hidden property="method" value="dispatchMeth1" /> </c:if> <c:otherwise <html:hidden property="method" value="dispatchMeth2" /> </c:otherwise> </html:form> -----Original Message----- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 11:04 AM To: 'Struts Users Mailing List' Subject: One form multiple Action mapping I have a registration form (RegForm) which based on the method/mode I want to direct it to a different action mapping in order to assign different roles or security restrictions. I have a single RegAction extending the DispatchAction class, with parameter 'method' as the dispatch parameter. I thought of maybe put a <c:if .. > and based on the 'method' put the correct <html:form ..> one. But then again maybe this will harm the javascript validation, cause the name of the form will be different. How can this be done? Registration.jsp: -------------------- <html:form action="/Reg.do?method=create"> ... </html:form> Thanks, Erez --------------------------------------------------------------------- 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]

