background preloader


Facebook Twitter


Code. Java examples (example source code) Organized by topic. Spring by Example - Spring Web MVC Locale Change. Creating a basic webapp that will handle UTF-8 characters from form input and also have internationalized messages.

Spring by Example - Spring Web MVC Locale Change

The character encoding type for the request can be set using the CharacterEncodingFilter. By setting this, when a form values are retrieved from the request the encoding type will be UTF-8. /WEB-INF/web.xml <filter><filter-name>encoding-filter</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>encoding-filter</filter-name><url-pattern>/*</url-pattern></filter-mapping>

Pattern Tap : Organized Web Design Collection of User Interfaces. 725 + Ajax/Javascript/Dhtml examples and demos to download. / A showroom of nice looking simple downloadable DH.