Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP status 404 error from Tomcat7.0  RSS feed

 
nanda chinna
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
]hello
i got a error in this programm please corret the error ..i could not found the error where it happens....
i installed correctly nd its running also ....please help me
am excuting dynamically ...
Factorial.java


inut.html
 
Niraj Jha
Ranch Hand
Posts: 63
Java Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked input.html page ?
 
Manoj sawant
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where is your form tag and action and method in input.html?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You got a 404 because the servlet container could not find your servlet class. The reason being:


Your servlet is NOT in a package - All classes used in servlets or JSP MUST be in a package and the class files in the matching directory.

See the Servelets FAQ where the 404 error is at the top of the list.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!