本帖最后由 kaitokid_94_1412 于 2010-09-04 22:35:43 编辑

解决方案 »

  1.   

    哈哈,我的j2me 经常会出现这样的异常,应该都是状态转换时出错的,也就是程序的运行周期执行时出了问题
      

  2.   

    严重: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
    at org.apache.catalina.connector.Response.getWriter(Response.java:610)
    ……
    因为这个请求的输出流已经被调用了,在Response.getWriter方法中多次调用到了getOutputStream方法。从异常可以看懂这些信息。
      

  3.   

    应该是输出验证码的时候出现的异常,你试试在使用完输出流以后加上
    out.clear();
    out = pageContext.pushBody();