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.
Created attachment 136220 [details] Error parsing file When i use taglib and javascript, netbeans mark error. I reproduce the problem since version 7.3, including build 201306232301. Code sample: <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> <script type="text/javascript"> <c:if test="${action == 'varTest'}"> alert("test"); </c:if> </script> </body> </html>
Thank you for reporting *** This bug has been marked as a duplicate of bug 226207 ***
Can't you use <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Hello World!</h1> <script type="text/javascript"> // <c:if test="${action == 'varTest'}"> alert("test"); // </c:if> </script> </body> </html> It works for me!!!