I'm going out on a limb here, but usually I wouldn't do the xml like that with 
html:form since it is unbalanced...

You'll have to find a workaround I think...

sandeep

-----Original Message-----
From: Simon Pett [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 8:31 AM
To: 'Struts Users Mailing List'
Subject: using html:form with el logic tags



Hi,

Can someone tell me why I get an unbalanced error when I try to optionally
use a form tag? 

org.apache.jasper.JasperException: /pages/common/layouts/layout.jsp(56,1)
The end tag "</c:when" is unbalanced


        <tiles:useAttribute name="action"/>
        <tiles:useAttribute name="focus"/>

        <c:choose>
        <c:when test="${focus != 'na'}">
                <html:form action="${action}" focus="${focus}">
        </c:when>
        <c:otherwise>
                <html:form action="${action}">
        </c:otherwise>
        </c:choose>

        ...


Using struts 1.1

Thanks
Simon


---------------------------------------------------------------------
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]

Reply via email to