The answer for this code is given as <!--X-->test<!--test-->
Aslo pls clarify a scenario where if both html comment and JSP comments are included in the JSP. Are both the comments supressed in the output or will an html comment displayed?
When I executed the JSP with both html and JSP comments on Tomcat 5.0.x. (latest version) neither of the comments were displayed in the output. Am I correct in assuming that none of the comments (html and JSP)will be displayed in the output?
if we consider the following code snippet:
<%-- This is an XML comment --> <!-- This is a HTML comment --->
Sorry for making the question lengthy
Thanks before hand [ November 09, 2005: Message edited by: Ayub ali khan ]