寻求帮助,关于servlet输出图片到客户端的问题!!!
代码没有错误了,可能是环境的问题!!!是jar包不全吗?
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.ClassCastException
chartweb.writeImg.doGet(writeImg.java:32)
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.