if your class doesn't belong to the unnamed package you need to add
subdirectories according to the package the class belongs to:

package com.foo; --> needs to be put in web-inf/classes/com/foo/

Hope this helps.
-mw


At 17:08 11.06.2001 +0530, you wrote:
>Hi,
>I have a jsp page that instantiates an object (from a class file that I have
>created). Now if I put the class file on my-classpath then everything works
>fine. However, is there any way that I can dump the file somewhere in the
>tomcat folder hierarchy instead of on the class path. I tried putting the
>file in web-inf/classes but the jsp page returns a "class not found error".
>Do I have to make some changes in some config files to get this working.
>any help will be appreciated
>thanx in advance
>peter
>
>___________________________________________________________________________
>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

Reply via email to