<% /* Hi Kumar,

Try the usual java comment methods
The block, or */ %>

<% // the single line type. hihi. %>

regards
Stein

Allamraju Kumarswamy wrote:
>
> Guys--
>
> Windows NT 4.0 sp-3
> JWS 2.0 beta 2,
>
> I'm trying to insert jsp comment tags to document the jsp page .
>
> here is the code.
>      <html>
>      <head><title>A Comment Test</title></head>
>      <body>
>      <h2>A Test of Comments</h2>
>      <%@ page language="java" %>
>      <%-- This comment will not be visible in the page source --%>
>      </body>
>      </html>
>
> On the browser i'm getting the following error message
>
> Error getting compiled page
>
> D:\JavaWebServer2.0\bin\..\tmpdir\default\pagecompile\jsp\_pc.java:33: ';'
> expected.
>             -- This comment will not be visible in the page source --
>                            ^
> 1 error
>
> Can anybody help me out what's wrong in the above code.
>
> Thx
> Kumar
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to