How can I comment a JSP expression like: <%= map.size() %>
<%= map.size() %>
Is there something like <%= // map.size() %>?
<%= // map.size() %>?
My Suggestion best way use comments in JSP page <%-- Comment --%> . Because It will not displayed (will not rendered in HTML pages) in client browsers.
<%-- Comment --%>