You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Amy Boyett <ab...@gollaborate.com> on 2001/02/13 19:57:33 UTC

FW: XML syntax bugs in Tomcat 4?

I was told that this might be more appropriate to the post on the dev list .
. .


-----Original Message-----
From: tomcat-users-admin@lists.real-time.com
[mailto:tomcat-users-admin@lists.real-time.com]On Behalf Of Amy Boyett
Sent: Monday, February 12, 2001 10:40 PM
To: tomcat-user@jakarta.apache.org
Subject: XML syntax bugs in Tomcat 4?


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
aboyett@gollaborate.com






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

_______________________________________________
tomcat-users mailing list
tomcat-users@lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/tomcat-users