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.

Bug 250696

Summary: JSP Files are not edited according to their contentType. They are assumed to be HTML.
Product: javaee Reporter: Richard.Roda
Component: JSPAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Richard.Roda 2015-02-25 15:31:48 UTC
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.