Re: ClassNotFoundException under Tomcat

ssmtech <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <002001c35755$f7cb7a50$de00a8c0@computer5>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.