This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "errorPage" Watch "errorPage" New topic


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.



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
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

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
Thank you very much for your propmt reply.It's working now.

I agree. Here's the link:
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