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 a JSP with <%@page> declaration as follows: <%@page contentType="text/javascript" pageEncoding="UTF-8"%>. Expected behavior was to treat contents in editor as JavaScript. Actual behavior is to treat contents of page as HTML.