• Post Reply Bookmark Topic Watch Topic
  • New Topic

catching exceptions and clearing server log

 
altran dev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I i'm having a problem with exceptions handling. In a JSF webapplication i have configured in web.xml <error-page> for all my exceptions, and they work fine, but the problem is that te exception is getting logged in the server. How can I do to get the exceptions to stop getting logged in the server?

Thanks in advance.
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same thing you would do without JSF. Catch and handle exceptions in your application code instead of letting them percolate out to the server.

It's not really good practice to let Exceptions get out of the webapp anyway.
 
altran dev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:Same thing you would do without JSF. Catch and handle exceptions in your application code instead of letting them percolate out to the server.

It's not really good practice to let Exceptions get out of the webapp anyway.


Thank you Tim ,

I dont have access to the backend code, and I need to create these kind of handling in the .xhtml pages or via .xml configurations pages.

Thank you, one mor time :)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!