Advertisement
Guest User

Untitled

a guest
Feb 19th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <filter>
  2. <filter-name>setCharacterEncodingFilter</filter-name>
  3. <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class>
  4. <init-param>
  5. <param-name>encoding</param-name>
  6. <param-value>UTF-8</param-value>
  7. </init-param>
  8. </filter>
  9.  
  10. <filter-mapping>
  11. <filter-name>setCharacterEncodingFilter</filter-name>
  12. <url-pattern>/*</url-pattern>
  13. </filter-mapping>
  14.  
  15. <jsp-config>
  16. <jsp-property-group>
  17. <url-pattern>*.jsp</url-pattern>
  18. <page-encoding>UTF-8</page-encoding>
  19. </jsp-property-group>
  20. </jsp-config>
  21.  
  22. <Resource name="jdbc/gtraxDS" auth="Container"
  23. type="javax.sql.DataSource"
  24. driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
  25. url="jdbc:sqlserver://ctceu-wgc-dv026:45666; databaseName=gtraxd2"
  26. username="myAppUsername"
  27. password="myAppPa55word"/>
  28.  
  29. The default value of URIEncoding attribute for HTTP and AJP connectors has been changed from
  30. "ISO-8859-1" to be "UTF-8" (if "strict servlet compliance" mode is off, which is the default)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement