The solution you said works. but <html:form action="<%= request.getParameter("id") %>"> does not work although <% String id = (String)request.getParameter("id"); %> <html:form action="<%= id %>"> works. Is there anything that I am doing wrong in case 1.
Thanks Sudipta "Nicolas De Loof" <[EMAIL PROTECTED]> wrote: JSP Tags use an XML syntax, so you must have the same number of opening and closing "html:form" jsp tags in your jsp. This is why your JSP engine failed. acording to struts-form.tld, action attribute in html:form tag can be JSP computed. Try this: <% String actionPath; if( something) { actionPath =" /AccountMaint"; } else { actionPath =" /CreateAccount"; } %> <html:form action="<%= actionPath %>"> .. </html:form> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>