Based on the information you have specified, the URL: http://knuddel:8080/servlet/shop
is incorrect. It should be: http://knuddel:8080/shop/servlet/shop and there should be a "shop.class" file (i.e. the servlet) in /webshop/shop/WEB-INF/classes. Your web.xml doesn't apply at this point. However, if you add a <servlet-mapping> to the web.xml you can use a URL like: http://knuddel:8080/shop/whatever_you_want Cheers, Larry > -----Original Message----- > From: Sahlke, Jan [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 07, 2003 8:52 AM > To: [EMAIL PROTECTED] > Subject: tomcat 3.3 problem with classpath > > > Hello, > > I am a newbie and I have some problems with tomcat and my application. > > The application path is /webapp/shop with the subdirectory > /webshop/shop/WEB-INF/lib and a /webshop/shop/WEB-INF/web.xml. > > In my server.xml, I make the entries: > <Context path="/shop" > docBase="/webshop/shop" > debug="9" > > </Context> > In my web.xml: > > <servlet> > <servlet-name>shop</servlet-name> > .... > </servlet> > > My problem is, I get these error messages: > 003-02-07 13:10:31 - Ctx() : Class not found: shop > 2003-02-07 13:10:31 - Ctx() : Status code:404 request:R( + > /servlet/shop + > null) msg:null > > After I call the URL http://knuddel:8080/servlet/shop > Not Found (404) > Original request: /servlet/shop > > Not found request: /servlet/shop > > My documentation advises me to set the CLASSPATH in my shell, > but tomcat 3.3 > ignores the variable. > > What can I do? > > Best regards, > Jan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]