How can you strip HTML comments out of a page generated with JSP/JSTL?

Posted by codeninja on Stack Overflow See other posts from Stack Overflow or by codeninja
Published on 2010-04-19T21:43:19Z Indexed on 2010/04/19 22:13 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

I know some people use ANT to accomplish this, but I don't want to remove HTML comments from the actual jsp, I just want a way to strip them from output unless a users adds a parameter to the url to show the comments for debugging.

© Stack Overflow or respective owner

Related posts about jsp

Related posts about html-comments