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 108323 [details] Project that exhibits the bug 1. Create a web project in NB 6.9.1 2. Add the following to web.xml: <jsp-config> <jsp-property-group> <url-pattern>*.jsp</url-pattern> <page-encoding>utf-8</page-encoding> </jsp-property-group> </jsp-config> 3. Open index.jsp, remove the pageEncoding attribute and type some non-English characters in this page 4. Shut down NB 6.9.1 and start up NB 7.0 5. Open the project and index.jsp => non-English characters are not displayed correctly. I am attaching the project that I used for testing this.
Looks like method getJspPropertyGroups in the annonymous inner class on line ~150 in class org.netbeans.modules.web.jspparser.ParserServletContext needs to be implemented properly.
Fixed in trunk: http://hg.netbeans.org/web-main/rev/ce5c1f9177d4
Fixed in NB 7.0.1: http://hg.netbeans.org/releases/rev/de55d7f5b758
Integrated into 'main-golden', will be available in build *201105260401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ce5c1f9177d4 User: pjiricka@netbeans.org Log: #198637 - correctly detecting JSP encoding if it is specified in web.xml.
verified... Product Version: NetBeans IDE 7.0.1 (Build 201107211357) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)