Bug 151665 - I18N : Need additional steps in Spring tutorial for i18n use
I18N : Need additional steps in Spring tutorial for i18n use
Status: NEW
Product: javaee
Classification: Unclassified
Component: Spring
6.x
All All
: P3 (vote)
: TBD
Assigned To: issues@javaee
issues@javaee
http://www.netbeans.org/kb/61/web/qui...
JA_COMMUNITY
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-29 07:44 UTC by Masaki Katakai
Modified: 2008-10-29 07:51 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo