Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Catch Error and Display appropiate messages  RSS feed

 
Chhaya Dhanani
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can write and designate a JSP page to handle erors.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!