wood burning stoves 2.0*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP response code 500
 
Similar Threads
How do I close a bound socket?
HttpsURLConnection: Reading Body of Response when response code is not 200
JSP accessed by WGET (using timestamp option '-N')
NEWBIE Q: How to parse an XML HTTP-POST request in servlets using JDOM?
jar Archive and Servlets