aspose file tools*
The moose likes Servlets and the fly likes HTTP response code 500 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTTP response code 500" Watch "HTTP response code 500" New topic
Author

HTTP response code 500

Siddharth Ramavat
Ranch Hand

Joined: Feb 03, 2005
Posts: 41
hi,
When i was trying to call servlet from my java application in swing it shows me IOException and HTTP response code 500...

Can anybody tell me what is that and why it has occured...?

Thank You
Siddharth Ramavat
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

500 means 'Something went wrong in you servlet', it is usually accomonied by another exception, the one which actually caused the error.
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
Its an error on the server side, try posting your servlet code using the CODE tag.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
in other words, your application didn't call the servlet correctly causing it to explode in your face and/or the servlet has a bug (you could say that not handling erroneous requests gracefully could be a bug if the servlet was exposed to the outside world).


42
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HTTP response code 500