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 151665 - I18N : Need additional steps in Spring tutorial for i18n use
Summary: I18N : Need additional steps in Spring tutorial for i18n use
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL: http://www.netbeans.org/kb/61/web/qui...
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-10-29 07:44 UTC by Masaki Katakai
Modified: 2016-07-07 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-10-29 07:44:10 UTC
I got messages from Japanese community members that the tutorial
below is not working when user is using Japanese at the last step,
step 8, entering Japanese into Name: text field. The entered strings
are garbled.

  http://www.netbeans.org/kb/61/web/quickstart-webapps-spring.html
   (Japanese - http://www.netbeans.org/kb/61/web/quickstart-webapps-spring_ja.html)

To make this tutorial work in any environment including English,
I think we need to add org.springframework.web.filter.CharacterEncodingFilter
and specify the encoding e.g. UTF-8 like following,

<filter>
  <filter-name>org.springframework.web.filter.CharacterEncodingFilter </filter-name>
  <filter-class>org.springframework.web.filter.CharacterEncodingFilter </filter-class>
  <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
   </init-param>
</filter>
<filter-mapping>
  <filter-name>org.springframework.web.filter.CharacterEncodingFilter </filter-name>
  <servlet-name>dispatcher</servlet-name>
  <dispatcher>REQUEST</dispatcher>
</filter-mapping>

These settings can be configured on GUI.

Is it possible to add these additional steps to the tutorial?
Also it's nice if some descriptions could be added in OLH too.
Comment 1 Martin Balin 2016-07-07 08:54:10 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss