Hello Sir, Thanks for your suggestion.. Sorry for the typing mistake...it is WEB-INF and not WEB_INF... I have the AppSelectionServlet under , "webapps/web/WEB-INF/classes/com/servicelane/screens/AppSelectionServlet.cla ss" and also under "webapps/web/sl/servlet/AppSelectionServlet.class".
Because the thing is according to the URL pattern of that servlet , <servlet> <servlet-name>AppSelectionServlet</servlet-name> <servlet-class>com.servicelane.screens.AppSelectionServlet</servlet-class> </servlet> and <servlet-mapping> <servlet-name>AppSelectionServlet</servlet-name><url- pattern>/sl/servlet/AppSelectionServlet</url-pattern> </servlet-mapping>..... I had put the servlet under both the folder....Since i was not sure from which folder the servlet was being accessed. What does that "/" before "sl" means .....Where does "/s/servlet/AppSelectionServlet" exactly comes under(under which folder should it come...) Regards ----- Original Message ----- From: "Kai Ojansuu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 31, 2003 2:43 PM Subject: Re: ClassNotFoundException under Tomcat > Move your servlet to: > webapps/web/WEB_INF/classes/com/servicelane/screens/AppSelectionServlet.clas s > > url-patterns have nothing to do with classes -directory. > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html