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 Servlets and the fly likes handle 500 error 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 » Java » Servlets
Bookmark "handle 500 error" Watch "handle 500 error" New topic
Author

handle 500 error

muthu bharathi
Ranch Hand

Joined: Dec 10, 2008
Posts: 97
Hi,


How to handle the 500 error in servlet? Give some valuable guidance as soon as possible



--
Thanks & Regards,
M. Bharathi
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

An HTTP 500 error is fairly vague, it just meas something has gone wrong with the application logic running on the server. This sould be something catestrophic, or something simple and even expected that you have just forgotten to handle. Do you have a specific error you want to handle? Or are you just looking for information on the Servlet error page mechanism?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: handle 500 error
 
Similar Threads
Handling Internal Server Error - 500
Handling multiple error code through one entry in web.xml
Custom error page
Custom Error Page Filter
Error 400: Invalid path /main was requested