This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem with global-exception tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with global-exception tag" Watch "Problem with global-exception tag" New topic

Problem with global-exception tag

Sandeep Ghosh
Ranch Hand

Joined: Jan 23, 2002
Posts: 145
I have this in struts-config.xml

One of my Action's class execute method is throwing an Exception.
In GlobalExceptionHandler class I am just redirecting it to some page,but it is giving this error
at org.apache.struts.action.RequestProcessor.processException(
at org.apache.struts.action.RequestProcessor.processActionPerform(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
Could anybody please suggest what is right way to implemet this tag.
Sandeep Ghosh
Ranch Hand

Joined: Jan 23, 2002
Posts: 145
Hi Friends,
For anybody who is having similier problem , I have managed to find a nice example showing the use of Global Exception handler in . Unzip the and look at file.
I agree. Here's the link:
subject: Problem with global-exception tag
Similar Threads
JCaptcha and Struts
Jboss 5.0 not able to connect to databse
how to pass object from jsp to action class in struts???
Getting problem in struts
declarative exception handling in struts