http404 error in tomcat5.5.9

2005-08-18 Thread Duan Xin
hi , I have some questions in using tomcat 5.5.9: I create my web application under myapp directory (the structure of directory is below:) { myapp(dir)--- ---WEB-INF(dir)---classes(dir)---HelloWorld.class ---web.xml

Re: http404 error in tomcat5.5.9

2005-08-18 Thread Jon Wingfield
I'm not sure the whitespace in your directory structure came out right so I'll make a few comments: web.xml should be in myapp/WEB-INF context.xml should be in myapp/META-INF (or rename it to myapp.xml and move it to the webapps directory) Your servlet class should be in a package. Have a