This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200512051900 ] [ JDK VERSION : 1.5.0_02 ] JSP file: <%= ((server == null) || server.equals("")) ? "" : "value=" + server %> <jsp:expression> ((server == null) || server.equals("")) ? "" : "value=" + server </jsp:expression> In the first case code has different background and java syntax highlighting enabled, in the second - doesn't.
Note: according to http://java.sun.com/products/jsp/syntax/2.0/syntaxref205.html both cases are valid and equal.
Thanks for the report, however already filled. *** This issue has been marked as a duplicate of 46000 ***
Verified