Reputation: 1476
I'm interested when I compile JSF page in Netbeans what happens with the comments into the JSF pages and the faces-config.xml file? Are they preserved or they are deleted by the compiler. If they are preserved can I delete them somehow? I know that comments in java beans code are deleted by the compiler but I'm not sure about the JSF pages.
Upvotes: 0
Views: 607
Reputation: 30025
For JSF pages you can use the following context parameter in web.xml
:
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
The config files are not processed.
Upvotes: 6