• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error : http status 500?

 
nanda chinna
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello sir,
am using netbeans6.7.1 version i implemented one program i.e web application ..when am excuting this one i got one error http status 500...please solve this error ..when did i mistakn


this is the code:

SumServlet.java


input.html

please tell me.....
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
500 is a server side error. Check the log files of the servlet container.

You're parsing the string literals "fno" and "sno" instead of the request parameters of those names.
 
nanda chinna
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:500 is a server side error. Check the log files of the servlet container.

You're parsing the string literals "fno" and "sno" instead of the request parameters of those names.



please can you correct and send me please ......Ulf DIttmer
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the javadocs of HttpServletRequest to see if you can figure out how to retrieve the request parameters.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic