Code Snippets: Commenting your JSP code

All web developers know that they can add comments to their HTML by use of the <!– –> tag. This causes the contents to not be rendered to the viewer but still displayed in the source of the page. This method of commenting can still be done in JSP but in addition there is the<%– –> tag. This comment does not get displayed in the final page source and is only visible when looking at the un-rendered .jsp page.  This tag comes in handy to comment the logic in your JSP pages

// Code Snippets // JSP //

Comments & Questions

Add Your Comment