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.
Product Version: NetBeans IDE Dev (Build 200808240201) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb) Steps: 1. Create WebApp with Struts framework 2. Open index.jsp in the editor The file hasn't encoding tag in it. Compare with other types of web applications: jsp files have it due to implementation of the file and project encoding functionality.
"index.jsp" here is just for <jsp:forward page...> without any contents and hence not that important to have encoding setting. I will fix it soon.
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/0d8e3680b7ed User: potingwu@netbeans.org Log: Fix Issue#145320, P2, I18N - index.jsp file in Struts Web App doesn't have encoding tag.
Fixed in the trunk, changeset 0d8e3680b7ed in main details: http://hg.netbeans.org/main?cmd=changeset;node=0d8e3680b7ed It now generates index.jsp as ("UTF-8" not hard-coded, locale dependent): <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <jsp:forward page="Welcome.do"/>
verified: build 0831 The tag exists with the project encoding value