weblogic8中文显示乱码解决办法

发表于:2007-06-10来源:作者:点击数: 标签:

 

 

 

 

 

 

 

 

中文显示乱码解决办法:

1.在web.xml里面加入

< context-param >

< param-name >weblogic.httpd.inputCharset./*< /param-name >

< param-value >GB2312< /param-value >

< /context-param >

2.在weblogic.xml里面加入

< jsp-descriptor >

< jsp-param >

< param-name >compileCommand< /param-name >

< param-value >javac< /param-value >

< /jsp-param >

< jsp-param >

< param-name >compilerSupportsEncoding< /param-name >

< param-value >true< /param-value >

< /jsp-param >

< jsp-param >

< param-name >encoding< /param-name >

< param-value >GB2312< /param-value >

< /jsp-param >

< /jsp-descriptor >





原文转自:http://www.ltesting.net