首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

resin抛出java.io.UnsupportedEncodingException: 8859-1

2014-01-26 
异常代码为java.io.UnsupportedEncodingException: 8859-1at sun.io.Converters.getConverterClass(Convert

异常代码为
 
  java.io.UnsupportedEncodingException: 8859-1
  at sun.io.Converters.getConverterClass(Converters.java:215)
  at sun.io.Converters.newConverter(Converters.java:248)
  at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:64)
  at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:223)
  at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:209)
  at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:76)
  at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
  at com.caucho.vfs.i18n.JDKReader.create(JDKReader.java:73)
  at com.caucho.vfs.Encoding.getReadEncoding(Encoding.java:163)
  at com.caucho.vfs.ReadStream.setEncoding(ReadStream.java:403)
  at com.caucho.server.http.Request.getInputStream(Request.java:518)
  at com.caucho.server.http.Request.getStream(Request.java:526)
  at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.
  java:201)
  at com.caucho.jsp.QPageContext.handlePageException(QPageContext.java:579
  )
  at _oasystem._main__jsp._jspService(_main__jsp.java:141)
  at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
  at com.caucho.jsp.Page.subservice(Page.java:485)
  at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:
  176)
  at com.caucho.server.http.Invocation.service(Invocation.java:278)
  at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:1
  29)
  at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java
  :338)
  at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.j
  ava:270)
  at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
  at java.lang.Thread.run(Thread.java:534)
 
  请问这个问题如何解决

------解决方法--------------------------------------------------------
java.io.UnsupportedEncodingException:   8859-1 resin我用得少,一般的话都是字符转码的问题,可能是因为缺失包
------解决方法--------------------------------------------------------
字符转码问题
------解决方法--------------------------------------------------------
8859-1
  是字符集的代码

        

热点排行