This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Error Handling  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!