suidan
suidan
2011-12-06 17:59

java.io.CharConversionException: Not an ISO 8859-1 character:

已采纳

2011-12-6 17:50:20 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet action threw exception
java.io.CharConversionException: Not an ISO 8859-1 character: 恭
at javax.servlet.ServletOutputStream.print(ServletOutputStream.java:89)
at javax.servlet.ServletOutputStream.println(ServletOutputStream.java:242)
at com.boyusoft.bycfp.platform.action.CoreAction.execute(CoreAction.java:76)
at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:106)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at com.boyusoft.bycfp.platform.filter.ActionFilter.process(ActionFilter.java:25)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at com.boyusoft.bycfp.platform.filter.ActionFilter.doPost(ActionFilter.java:15)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
环境jdk1.6Myeclipse6.5求解决方案
有人告诉我需要改注册表的编码具体操作我不清楚,求指导谢谢

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • wl1205626 wl1205626 10年前


    [code="java"]at com.boyusoft.bycfp.platform.action.CoreAction.execute(CoreAction.java:76) [/code]

    此处不使用ServletOutputStream

    使用
    [code="java"]
    PrintWriter pw = response.getWriter();
    pw.write(str)
    [/code]

    点赞 评论 复制链接分享

相关推荐