<%@ page language="java" %>
The Following are the contents of test.jsp
1 <html>
2 <head><title>A Comment
Test</title></head>
3 <body>
4 <h2>A Test of Comments</h2>
5 <!-- This is Html Hidden Comment -->
6 <%-- This is
JSP Hidden Comment --%>
7 </body>
8 </html>
On executing test.jsp guess the correct output
a) Line 5 is inserted in response but Line 6 is not inserted in response
b) Line 5 and Line 6 are inserted in response
c) Both Line 5 and Line 6 are not inserted in response
d) Line 5 is not inserted in response but Line 5 is inserted in response
---------------------
The anwser it gave me is a).
But I think it is c) and I grabbed the above code and tested it. neither line 5 nor line 6 was displayed.
Any comment? Thanks,
On executing test.jsp guess the correct output
Tong Chen (Seattle USA)<br />SCJP,SCWCD,SCDJWS,IBM XML,MCP.NET,MCAD.NET,MCSD.NET