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 5.5 Dev (Build 200606090200) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor; Home = 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b02; Sun Microsystems Inc.; F:\Java\jdk1.5.0_07\jre System Locale; Encoding = ja_JP (nb); MS932 --- using pseudolocalized jappanise netbeans following qa-j2ee testspecs : http://qa.netbeans.org/modules/webapps/promo-f/frameworks/struts-user-scenario.html step 3.2 when i tried create New | File | Web | Struts Action (i've created file named とLoginForm) but in 3rd step of there is "?" instead of multibyte (see attachment) also in generated struts-config.xml there is instead of multi-byte only "?". <action input="/とlogin.jsp" name="?LoginForm" path="/Login/Verify" scope="request" type="com.mycompany.eshop.struts.actions.とLoginVerifyAction"/> on run project i get: org.apache.jasper.JasperException: クラス com.mycompany.eshop.struts.forms.?LoginForm のbeanを生成する際の例外: {1}
Created attachment 31056 [details] screenshot
I will fix this.
The problem is that the struts-config.xml file had ISO-8859-1 encoding by default. When schema2beans writes the tree to the configuration file, then it doesn't check the encoding. The fix is simple just generate the struts-config.xml file with UTF-8 encoding by default. For the schema2beans issue I entered different issue #79323. IDE:------------------------------------------------- IDE: [6/28/06 12:31 PM] Committing "resources" started Checking in struts-config.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/struts-config.xml,v <-- struts-config.xml new revision: 1.2.4.2.2.1; previous revision: 1.2.4.2 done Checking in tiles-defs.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/tiles-defs.xml,v <-- tiles-defs.xml new revision: 1.2.4.1.2.1; previous revision: 1.2.4.1 done Checking in validator-rules.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/validator-rules.xml,v <-- validator-rules.xml new revision: 1.2.4.3.2.1; previous revision: 1.2.4.3 done Checking in validation.xml; /cvs/web/struts/src/org/netbeans/modules/web/struts/resources/validation.xml,v <-- validation.xml new revision: 1.2.4.1.2.1; previous revision: 1.2.4.1 done IDE: [6/28/06 12:31 PM] Committing "resources" finished
Verified