oh, thanks..

and as for my classes, i will put them into some packages..say "com.myname"
under some directoy say /myjavaclass, it's just that I don't want to put the
packages say "com.myname" inside the WEB-INF/classes, that's all.

so all i have to do is to add to the tocmat classpath right? thanks.

-----Original Message-----
From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 2:07 PM
To: '[EMAIL PROTECTED]'
Subject: RE: import java files from jsp


> Hello, I have some jsp files under /jsp, and by default, the 
> java files used
> by these jsp files should be put under /jsp/Web-INF/classes/, is there
> anyway that I can specify under tomcat's configuration file 
> and make the jsp
> pages under /jsp to look for java files else where? so 
> /myjavaclass?????

As long as the classes are in the classpath for your tomcat jvm instance
they will be found.  This is a bad practice though seeing as if duplicate
class instances(which are different in code, signature, etc...) can cause
problems if they exist in the classpath before your intended class.  Any
particular reason you wish to do this...?  Just curious;)




---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com

Reply via email to