This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I run the tomcat5.0.28.exe on machine ..it installed tomacat .. I put test directory in webapps folder. whenever i tried to access the http://localhost:8080/test/form.html it gived http status 404 error.
Actually first time when i installed tomcat it used to access the file but it wasn't running servlets so i uninstall it and install it again.
Did you also create the rest of the directory structure required for Tomcat to recognize that "test" is a web application? Look at the examples provided in the Tomcat installation - for a directory placed under webapps to be recognized as a web application, it must contain a WEB-INF directory that holds a web.xml file. Otherwise Tomcat will not serve files or servlets from the directory. Bill
Joined: Jul 25, 2005
thanks William..It worked. I misspelled the directory name web-inf.
And I would like to thanks u once gain for ur book "Java Cram" for SCJP1.4 I used that book and solve the mock exams,which I find bit difficult in the begining but helped a lot. I scored 91% in SCJP.
Do u have any book published for Web component developer exam or mock exam collection?