I can't seem to change the action on an <html:form> dynamically

I have this:
        <html:form action="/AccountMaint">

I want to use
        <html:form action="/AccountMaint">
        or
        <html:form action="/CreateAccount">

I tried to use an if around it
<%
if( something) {
%>
        <html:form action="/AccountMaint">
<%
}
else {
%>
        <html:form action="/CreateAccount">
<%
}
%>

but the parser complained
Parse Error in JSP page: The page '/custom/docs/AccountMaint.jsp' did not
close the '__tag_form_4' tag. allaire.jrun.jsp.ParseException: The page
'/custom/docs/AccountMaint.jsp' did not close the '__tag_form_4' tag. 

put the same if structure at the end to include two </htm:form> tags (both
the same) and got

Parse Error in JSP page: The page '/custom/docs/AccountMaint.jsp' did not
close the '__tag_form_3' tag. allaire.jrun.jsp.ParseException: The page
'/custom/docs/AccountMaint.jsp' did not close the '__tag_form_3' tag. 




        bill page
        [EMAIL PROTECTED]
        Digital Garden Software, Inc.
        856 US Hwy 206 Bldg B Ste 15
        Hillsborough, NJ 08844
        908.904.0664



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

Reply via email to