This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Handle Exception in Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Handle Exception in Jsp" Watch "Handle Exception in Jsp" New topic

Handle Exception in Jsp

pedro costa

Joined: Mar 24, 2011
Posts: 7
Good Afternoon in my timezone.

I am using struts framework in my Web App development. I had parametrize the exception handling in the struts-config.xml file :

And in the globalError jsp i have the following page directive

When i try to get the message from the exception object , it tells me that the exception object is null.

Why is this happening ?

Thanks in advance.
Best regrads
I agree. Here's the link:
subject: Handle Exception in Jsp
Similar Threads
Error page in struts(Unable to get exception object)
how to define global exception in struts ?
Struts Exception Handling
404 prob.
global exceptions in struts