Hmmm, sometimes the most obvious solutions seem to evade us. I was missing
the need to put //--> on the closing for HTML comments and for some reason
didn't even think about and actual JSP comment -- what was I thinking :)

Thanks

-----Original Message-----
From: Gilles DEMARTY [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 07, 2006 12:06 PM
To: MyFaces Discussion
Subject: Re: Comments in JSP files

Short answer:

 * <!-- Copyright --> are html (or xml/xhtml) comments and are rendered in
the generated page
 * <%-- design comments --%> are jsp comments and are not rendered in the
generated page.

Both accept multilign comments


2006/6/7, Julian Ray <[EMAIL PROTECTED]>:
>
>
> Has anyone figured out how to include some comments in the JSP files 
> which are output to the finished JSP page eg. copyright statements 
> etc. but have other comments which are removed by the JSF servlet (eg 
> version info, authorship, change log etc.)
>
> Thanks
>
>

Reply via email to