I see...sorry about that. So you are trying to programmatically load the classes from 
a Jar file? If so, then I believe there are utility classes in the JDK that allow you 
to open a zip (or jar) file and flow through it...from there I suppose you could use 
the classloader to load them. Like I said, I haven't done this, just trying to offer a 
suggestion.

>>> [EMAIL PROTECTED] 8/2/00 7:31 >>>
I don't think i worded it too well so here goes again.
The Jar file is on a web server and will only be got if it is needed. Then I
wish to load all the packages and classes in the Jar.
Is there any way of doing this?

Jimmi Dyson
Illy Computer Systems


-----Original Message-----
From: TODD HARNEY [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 12:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Using ClassLoader


Make sure the JAR file is located in one of the directories in your
classpath and it will work

>>> [EMAIL PROTECTED] 8/2/00 4:02 >>>
Hi all.
I have a JAR file with about a thousand classes in it, contained within
different packages.
How do I load these classes without having to explicitly go through each of
the separate classes?
Your help would be very much appreciated.
Thank you very much.

Jimmi Dyson
Illy Computer Systems

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to