Why would you want (or need) to put a class somewhere other than on your
classpath? If you want the class to be available globally to webapps, then I
suggest you put the class (or package) in the tomcat "classes" directory. For
instance, if I have tomcat installed in "C:\tomcat", then my global classes
directory is: "C:\tomcat\classes". Tomcat automatically includes this directory
on the classpath when it starts.
Is that what you want?
--- Peter Barraud <[EMAIL PROTECTED]> 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


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/

___________________________________________________________________________
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