spring - Wildfly jsp encoding by jboss-web.xml -
i'm working on corporate project using wildfly. wonder if there way configure "jsp-encoding" property single project , not in standalone.xml, affects projects?
i'm using spring web mvc 4.0.6 on maven project in netbeans 8.
did tried add 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> <init-param> <param-name>forceencoding</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>encoding-filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
Comments
Post a Comment