try using javac -cp <dir to your classes>. Good thing is also to read
something on how java works, since this is MUST know if you even want to
start thinking about java..


Mvgr,
Martin

-----Original Message-----
From: Drinkwater, GJ (Glen) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 17:15
To: [EMAIL PROTECTED]
Subject: Help needed with package access


I am using tomcat and i am unable to compile my servlet classes when i try
to make an instance of a class that i have created which lies in the same
folder as my servlet, ie WEB-INF/classes.  A error occurs telling me that it
cannot resolve the class.

The only way around this is to put these classes i need in the jre/classes
folder of my java home directory.

Does anybody know a way around this problem so that my servlets can 'see' my
java classes in the classes folder, or below.

Thanks  Glen


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to