This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes errorPage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "errorPage" Watch "errorPage" New topic
Author

errorPage

shanthisri mocherla
Ranch Hand

Joined: Sep 05, 2005
Posts: 119
Hello friends
I'm trying the example on error page on page 458 from HFSJ.

errorPage.jsp


badPage.jsp.





When I'm trying to execute this program I'm getting
HTTP 500 Internal Server error

Actually it worked fine for the first time.But later on when I tried it again it was giving this error.
Dont know the cause.???


Appreciate your patience
shanthi
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If you are using IE, make sure taht the option to display friendly http errors is not checked.


[My Blog]
All roads lead to JavaRanch
shanthisri mocherla
Ranch Hand

Joined: Sep 05, 2005
Posts: 119
Satou,
Thank you very much for your propmt reply.It's working now.

Shanthi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: errorPage
 
Similar Threads
badPage.jsp - HFSJ pg 458
error pages - error!
errorPage directive not working
pageContext.exception is not executing
Exception: c:catch doubt