Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

404 found error

 
sagar deshpande
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends sagar here friends i ahve a problem when created a servlet apllication.ok When i have created a servlet program,and try to submit a button from the html page,the problem comes like "404 FOUND ERROR AND IT WILL WORK FOR SERVLETS NOT FOR FILES".I tried a lot to solve but unable to solve it.pls help me
thnx to all of u
------------------
 
Kevin Mukhar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
404 means that the server does not recognize the url you used to access the resource. A message that says the server does not support static pages or files sounds like you are using a development server that only responds to servlet requests but not requests for .html pages.
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or maybe it does support both HTML and Servlets, but it expects the HTML files to be in a different directory (as might be the case in some Apache + Tomcat or other Servlet engine configurations).
-Mirko

Originally posted by Kevin Mukhar:
404 means that the server does not recognize the url you used to access the resource. A message that says the server does not support static pages or files sounds like you are using a development server that only responds to servlet requests but not requests for .html pages.

 
sagar deshpande
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi this is saga again thnx for the reply but then wht the solution for the same that 404 error can u suggest any thing that i can do? i have also downloaded the Apache server but still the same problem i am facing.
pls try to solve the probelm
thnx


------------------
 
Mirko Froehlich
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sagar, we need a little more information in order to solve your problem. Which application server and web server are you using? Are you using a a standalone application + web server (e.g. Tomcat running standalone), or are you using an app server for your JSP and Servlets and a web server (e.g. Apache) for static files? Which directories are your HTML and JSP files in?
-Mirko

Originally posted by sagar deshpande:
hi this is saga again thnx for the reply but then wht the solution for the same that 404 error can u suggest any thing that i can do? i have also downloaded the Apache server but still the same problem i am facing.
pls try to solve the probelm
thnx


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic