I am using Tomcat 4.0-M5 . . . Before I submit as bugs (and please forgive
if they are already there), can anyone tell me why this jsp in "standard"
syntax works:

<jsp:plugin type="applet" code="Button.class" >
   <jsp:params>
        <jsp:param name="Background" value="background1.jpg" />
        <jsp:param name="Image1" value="button1.gif" />
   </jsp:params>
</jsp:plugin>


But this jsp in XML syntax throws a servlet exception:
<jsp:root>
<jsp:plugin type="applet" code="Button.class" >
   <jsp:params>
        <jsp:param name="Background" value="background1.jpg" />
        <jsp:param name="Image1" value="button1.gif" />
   </jsp:params>
</jsp:plugin>
</jsp:root>

The second example works just fine if I take *out* the jsp:params tags.
Seems like it should work the same whether I am in standard syntax or XML
syntax.

While we're on the topic . . . this works:

<jsp:include page="foo.jsp" flush="true" />

but this does not:
<jsp:root>
<jsp:include page="foo.jsp flush="true" />
</jsp:root>

It does not matter if the included page is in standard or XML syntax -- it
always works if the container page is standard syntax and never works if the
container page is XML syntax. Is there anyone else out there who is
extensively using the "new" XML syntax of JSP 1.2? Just curious because I am
interested in using it exclusively.

Thanks,
Amy
[EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to