This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes Catch Error and Display appropiate messages Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Catch Error and Display appropiate messages" Watch "Catch Error and Display appropiate messages" New topic
Author

Catch Error and Display appropiate messages

Chhaya Dhanani
Ranch Hand

Joined: Apr 11, 2001
Posts: 70
I am using the Model 2 architecture for my project.
i want to trap errors of various kind and maintain a log.
so that when the end user encounters one.. he can just mention the error code that he will see on the page.
how do i go about developing this in my project.
i guess all types of exceptions will have to be caught and a file for the codes be made..
please let me know how can this be done.
Thanx
Chhaya
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1506
You can write and designate a JSP page to handle erors.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Catch Error and Display appropiate messages
 
Similar Threads
autherization in struts
What is SocketException
Setting up a test environment, how to?
Manager is leaving--what to do?
Move Java Desktop Application project?