I have the following piece of code :
 
<bean:define id="myform" scope="session" name="xyzForm" type="XYZForm" />

<% if (myform.getFlag()) { %>

<html:form action='action1'>

<% } else { %>

<html:form action='action2'>

<% } %>

 

The above gives the error:

 

Unterminated <html:form tag' 

 

There is a </html:form> in my jsp- so not sure what this error is about. If
I remove the condition above , it works.

 

Can anyone throw some light on this issue.

 

Thanks,

Nandita

Reply via email to