Community
Participate
Working Groups
In code such as following: Path info: <% out.print(util.HTMLFilter.filter(request.getPathInfo())); %> <br> Query string: <% out.print(util.HTMLFilter.filter(request.getQueryString())); %> if the selection contains the JSP scriptlets, then the comments added should be JSP Comments. If the selection contains only HTML regions (or HTML text) then the comments should be HTML comments (there might be some use case here to have both choices in this latter case, but in the first case, I do not think anyone would ever want to surround a JSP region with HTLM comments since they should have little effect, the JSP region would still be a JSP region (though results might not be "displayed" to end user at their browser, it results of the evalutated code could be in the browsers 'source' for the page). FYI ... I know we are not supposed to group bugs ... but there's a number of inconsistent, or not helpful behaviors here. Such as if cursor is at 'request' in above example, I suspect the users intent is to surround whole JSP scriptlet with a comment ... or ... probably we should investigate using Java comments if inside a Java region.
looks like dup of bug 86520
*** This bug has been marked as a duplicate of 86520 ***
verifying as correctly categorized
This is part of a mass update to close out all stale WTP defects already verified by the reporter but awaiting closure by the assignee. If you feel this defect was closed inappropriately, please reopen. Thanks, John Lanuti