Careful:

<!-- <jsptag /> -->
The JSP tag will be evaluated (though not shown on the browser since the
results will be commented out. And yes, they'll be visible by the client.

<%-- <jsptag /> --%>
The JSP is not evaluated and the commented part will not be sent to the
resulting HTML page

At least I think.. :)

Andrej


-----Original Message-----
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 1:27 PM
To: Struts Users Mailing List
Subject: RE: comments





Both comments will work, but <!-- -->  will be visible by client (as
HTML comment).

<%-- --%>  will be ignored completely.

Maris



-----Original Message-----
From: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 22, 2001 8:16 PM
To: Struts Users Mailing List
Subject: Re: comments



No!

JSP Comments are not <!-- --> but <%-- --%>

--
gR

----- Original Message -----
From: "Maris Orbidans" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, November 22, 2001 7:14 PM
Subject: RE: comments


>
> Yes
>
> JSP have the same comment
>
> Maris
>
> -----Original Message-----
> From: Henrick Chua [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 22, 2001 8:12 PM
> To: Struts Users Mailing List (E-mail)
> Subject: comments
>
>
> hi all!
> how can I comment out struts code?
> do i do it like any other html comments?
>
> <!-- <bean:write property="abc" name="def" /> -->
>
> thanx
>
> h
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to