Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting null using exception.getMessage()

843838Dec 5 2005 — edited Dec 6 2005
hi
i am getting null using exception.getMessage() in JSP. I am no able to figure out where i am making mistake. i am giving the code here

<%@ page isErrorPage="true" %>
<html><head></head>
<body bgcolor="99FF99">
Error Message: <%=exception.getMessage() %>
<form action="command.jsp">
<input type=submit value="Go to Main Page"/>
</form>
</body>
</html>

thanx
vijai
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2006
Added on Dec 5 2005
5 comments
1,746 views