File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Error 500 in servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error 500 in servlet" Watch "Error 500 in servlet" New topic

Error 500 in servlet

John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192

I have two jsp pages, question.jsp and answer.jsp. In the question you can select questions and answer.jsp, you can answer the question. Also answer has a back option from where you can go back and reselect your questions.

But when i click the back button, the question page appears but at the bottom, i get the error message Error 500. Can someone who has seen similar problem, please throw some light.


Hussam Bamatraf

Joined: Aug 25, 2003
Posts: 14
Can you post the question JSP page code?
It seems there is some code at the end of that JSP raises the 500 Internal Server Error.

SCJP 90%<br />FileNet Certified Professional: Content Management Developer 92%<br />FileNet Certified Professional: Business Process Management Developer 92%
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Please also post the stack trace

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192

Thanks for the reply. Here is the code:



Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

With all those <'s in your psot it's near impossible to read. I'd suggest editing the post to repair the faulty code post.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Error 500 in servlet
It's not a secret anymore!