If his app is directly under the webapps directory, he shouldn't need to alter server.xml.
AutoDeploy will pick it up. You will, however need to create a mapping for your servlet in your web.xml file under WEB-INF in your app's directory. On Wednesday 17 December 2003 11:05 am, qi zhang wrote: > You should change your server.xml, adding another context like > > <Context path="/webdev" docBase="webdev" debug="0" > reloadable="true" crossContext="true"> > </Context> > > Try to see if it will help. > > > I could able to run servlets in tomcat 4.1. I created > > a folder called webdev in webapps in that i created WEB-INF and > > classes. I stored web.xml in WEB-INF. as follows. > > webapps/webdev/WEB-INF/classes > > WEB-INF/web.xml > > I configured web.xml with servletname,servletclass between webapps > > tags. After restarting the server when i say > > http://localhost:8080/webdev/servlet/myservletfile > > It showing > > 404 Requested URI not found. > > I tried like the below also > > http://localhost:8080/webdev/myservletfile > > But still it is not getting. > > Let me tell anybody that tomcat4.1 have any bug in reading web.xml > > > > > > > > --------------------------------- > > Do you Yahoo!? > > New Yahoo! Photos - easier uploading and sharing > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison & Company, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
