Forums Register Login

Error 404 resource not found

+Pie Number of slices to send: Send
I know the basic directory structure under Tomcat is as follows :
webapps/BeerV1/ with WEB-INF/classes directly beneath that.

i built a html form saved it in BeerV1/web directory and copied it under webapps/BeerV1/form.html

also i built a XML DD file web.xml in BeerV1/etc and copied it in BeerV1/WEB-INF
but when i am running http://localhost:8080/BeerV1/form.html

error is occurring 404 resource not found. the default html pages are getting executed. please someone help me out
+Pie Number of slices to send: Send
Probably Tomcat does not think BeerV1 is a web application due to some problem with your directory structure.

Have you checked the log files for error messages?

How was tomcat installed - as a service or as an application?

Bill
+Pie Number of slices to send: Send
May be you have some problem in directory structure or check the page name and directory name properly.
+Pie Number of slices to send: Send
its working fine now. The link was incorrect in the webxml file. thanks friends.
Acetylsalicylic acid is aspirin. This could be handy too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1142 times.
Similar Threads
Servlet compile problem
Problem with Tomcat 5
404 Error with Tomcat
A simple html form with TomCat
Question on BeerAdvice example
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:54:47.