Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Site Error handling  RSS feed

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anybody please provide me some information that how to handle errors in a website.

I am working on a websiet and using MVC. I want to catch all rendering time, business time and database related
errors and show a user friendly message to user and want to log the actual exception for developers

What is the best way to achive this.

Do i need to use ErrorPages.jsp kind of this.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!