View RSS Feed

JSP

Hidden and Output Comments

Rate this Entry
by
JSP
, 01-01-2012 at 06:00 PM (1979 Views)
An output comment is sent to the client where it becomes viewable in the source of browser.

<!-- This is a comment which is sent to client -->

JSP page is documented by hidden comment however it is not sent to client. Hidden comment is ignored by the JSP engine and no code is processed in tags of the hidden comments.

<%-- This comment will not be visible to client --%>

Submit "Hidden and Output Comments" to Facebook Submit "Hidden and Output Comments" to Digg Submit "Hidden and Output Comments" to del.icio.us Submit "Hidden and Output Comments" to StumbleUpon Submit "Hidden and Output Comments" to Google

Updated 01-15-2012 at 07:43 AM by JSP

Categories
Comment

Comments