报如下错误信息
type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception java.lang.IllegalStateException
type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception java.lang.IllegalStateException
解决方案 »
- 新手求教
- 帮忙把PHP函数转换成javascript脚本
- 做出的下拉菜单被引入的applet挡住了
- 数据库连接JAVABEAN请大侠给指点指点那里有不合理的地方
- 我在练习中有一个在JAVA中操作数据库的问题
- 谁有增加、删除、修改数据好用的界面:)
- 帮帮忙,jsp聊天室问题
- 怎么样才能在客户端建立一个用户登录的信息,并对其进行数据的读取???(给分!)
- Lombok插件 使用beanUtils.copyProperties 属性复制无效,必须手动加上get set方法
- 在查询时,遇到原始数据带双引号,使用group_concat时希望去掉或者替换双引号
- win2000+Resin+Mysql+jdk和Unix+Resin+Mysql+jdk应该怎样安装和配置?
- applet如何向servlet提出POST或GET等请求。最好是举例说明。谢谢。
{
age=Integer.parseInt(str_age);
}
catch(NumberFormatException e)
{
response.sendRedirect("age_exception.jsp");
}
catch(IllegalStateException ee)
{
response.sendRedirect("age_exception.jsp");
}
1.在可能出错的页面的头部加上:<%@ page errorPage=”error/ExceptionPage.jsp” %>2.定义页面ExceptionPage.jsp
<%@ page session=”false” isErrorPage=”true” import=”java.io.PrintWriter” %>
<%-- Using the implicit variable EXCEPTION extract the name of the exception --%>
<%
String expTypeFullName
= exception.getClass().getName();
String expTypeName
= expTypeFullName.substring(expTypeFullName.lastIndexOf(“.”)+1);
String request_uri
= (String) request.getAttribute(“javax.servlet.error.request_uri”);
%> <HTML> <HEAD>
<TITLE>JSP Exception Page</TITLE>
</HEAD>