weblogic8中文显示乱码解决办法

类别:Java 点击:0 评论:0 推荐:

中文显示乱码解决办法:

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://com.8s8s.com/it/it11651.htm