History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12851
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Alexander Strotzky
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Bad code is green: jsp-style comments are not allowed inside scriptlets

Created: 26 Oct 06 10:55   Updated: 29 Sep 07 16:57
Component/s: Editor. Error Highlighting, J2EE.JSP
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,068
Severity: Medium


 Description  « Hide
Small test case (jsp file):
<%
    <%-- just a comment --%>
%>

The associated servlet does not compile.
The comment start (<%--) is replicated verbatim inside the generated servlet class and this is obviously bad syntax:

<%-- just a comment --
      out.write("\r\n");
      out.write("%>");


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.