Your JSP comments (<%-- this is a JSP comment --%>) will NEVER be sent out
to the client, at least not by Tomcat.
-----Original Message-----
From: Frederic [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 8:07 AM
To: [EMAIL PROTECTED]
Subject: How to prevent Tomcat/Jasper to forward JSP comments ?
Hi,
I would like to prevent the servlet engine to forward the JSP
comments in
the generated HTML page. I used to put many comments in my JSP pages but i
would like to hide them to the clients. I've seen that we can give the
JspServlet some init parameters but there is no parameter matching my
request. Does anyone know how to tell it to hide comments ?
Fred.