Are you sure: - That the page is being compiled/executed as a JSP? - That your page contains the correct <%-- --%> and you don't have a wacky typo? - Which tomcat version
Can you reproduce with the following case: <html> <head><title><%-- hello --%> hi </title></head> <body <%-- in body--%>> Hi </body> </html> ========= This should yield: <html> <head><title> hi </title></head> <body > Hi </body> </html>
-Tim
Tom Halliley wrote:
I'm running into the following problem.
If a JSP page contains, for example,
<td class=foo <%-- This is a comment --%> width=100>
then the comment is passed through to the generated HTML page, causing the browser to end the td tag at the end of the comment, ignore the width specification, and render the remaining portion of the td tag as plain text.
This seems to be a change from Tomcat 3.x. Is Jasper intentionally sending this form of comment through to the generated page, or is this a bug?
Thanks,
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]