寻求帮助,关于servlet输出图片到客户端的问题!!!

bluerain111111 2004-09-10 06:49:36
代码没有错误了,可能是环境的问题!!!是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.

...全文
74 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
bluerain111111 2004-09-10
  • 打赏
  • 举报
回复
只是一个异常抛出的语句,没有错的!
little06 2004-09-10
  • 打赏
  • 举报
回复
writeImg.java:32
这里提示你的类writeImg.java
在32行出现问题
去查一下了

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧