Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Error Handling

 
Shanthala Rao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there is some error on a jsp file is it possibe
to direct it to a Log file? If so,how it can be done?
Thanks is Advance.
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah U can handle through Jsp specific mechanism,
using the error page file directive.
<%@ page errorPage="errorpage.jsp" %>
u can find in detail at :
http://developer.java.sun.com/developer/onlineTraining/JSPIntro/exercises/ErrorHandling/index.html
Anil.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic