I have just two
jsp, one is index.jsp, and has set
<%@ page errorPage="/ShowError.jsp" %>
then in the body, I create an exception as follow
<% double a1 = Double.parseDouble("abc") ; %>
then in ShowError.jsp, I write
<%@ page isErrorPage="true" %>
then in body, I write
<%= exception.toString() %>
but the result is
HTTP 500 - Internal server error
what is the problem?
the index.jsp and ShowError.jsp is placed in the same folder!!
I am using Netbean 5.5.1 and
JBoss 4.2.2, I also try to use
Tomcat 5.5.17 but the result is same!!