[jboss-user] [JBoss Seam] - HTML source codes has some characters like "&# 30416", but I

chicochen do-not-reply at jboss.com
Mon Oct 1 23:04:35 EDT 2007


HTML source codes has some characters like "&# 30416", but IE display these native words rightly.

I use jboss seam and facelet, and there must not has "&# 30416" charater, which is not supported by google search engine.

I even tried to solve this problem in jsf level, here are some codes, but still not work:

webpage:
<?xml version="1.0" encoding="UTF-8"?> 

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> 

web.xml
<filter> 
  | <filter-name>Set Character Encoding</filter-name> 
  | <filter-class>com.eastidea.px0515.util.SetCharacterEncodingFilter</filter-class> 
  | <init-param> 
  | <param-name>encoding</param-name> 
  | <param-value>UTF-8</param-value> 
  | </init-param> 
  | </filter> 
  | <filter-mapping> 
  | <filter-name>Set Character Encoding</filter-name> 
  | <url-pattern>/*</url-pattern> 
  | </filter-mapping> 

DB conection string:
<connection-url>jdbc:mysql://127.0.0.1:3306/px0515?useUnicode=true&characterEncoding=UTF-8</connection-url> 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090466#4090466

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090466



More information about the jboss-user mailing list