Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP response code 500

 
Siddharth Ramavat
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its an error on the server side, try posting your servlet code using the CODE tag.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic