aspose file tools*
The moose likes Servlets and the fly likes Error : http status 500? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error : http status 500?" Watch "Error : http status 500?" New topic
Author

Error : http status 500?

nanda chinna
Greenhorn

Joined: Mar 03, 2014
Posts: 7
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
Marshal

Joined: Mar 22, 2005
Posts: 42906
    
  69
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

Joined: Mar 03, 2014
Posts: 7
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
Marshal

Joined: Mar 22, 2005
Posts: 42906
    
  69
Read the javadocs of HttpServletRequest to see if you can figure out how to retrieve the request parameters.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error : http status 500?