你的变量t的类型应该是Throwable.因为你可能定义了t为Exception.它有两个方法:
public abstract void handlePageException(Exception e) throws ServletException,IOException
和public abstract void handlePageException(Throwable t) throws ServletException,IOException
你再检查一下
public abstract void handlePageException(Exception e) throws ServletException,IOException
和public abstract void handlePageException(Throwable t) throws ServletException,IOException
你再检查一下
解决方案 »
- JAVA开发web项目中的串口程序问题????
- 请高人帮我看看我Filter怎么放行不了
- 怎样利用java生成json复杂对象?
- sping 配置定时器
- 为什么连数据库总用Class.forName(“Driver”).newInstance而不用new Driver()呢?
- apache和tomcat负载均衡问题
- 使用tomcat连接SQL Server2000的问题!!急!!!
- xfire java.lang.IllegalStateException: Could not initialize Service
- struts1 bean:write
- 连接数据库提示我"DriverManager" is either a misplaced package name or a non-existent entity.
- 在一个servlet中,service()、doPost()、doGet()这三个方法有什么区别啊?请详细,高分在线等待!
- 谁能看懂jsp的错误信息呀,帮我看看
see
pstmt.setString(1,name);
pstmt.setString(2,ip);
pstmt.setString(3,email);
pstmt.setString(4,exactpost);
pstmt.setString(5,content);
pstmt.setInt(6,uid);//加这个
pstmt.executeUpdate();
pstmt.close();
stmt.close();
conn.close();
%>
在前面要的到uid,ok?