----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
on 4/4/00 12:58 PM, Stuart Ballard <[EMAIL PROTECTED]> wrote:
> Sorry if this is a faq, but I've read all the faq's for both JServ and
> GNUJSP and scanned the list archives and I still can't figure it out.
>
> First off, I *do* already understand the distinction between the system
> classpath and the servlet repositories. I know that I can't reload any
> classes that are in the system classpath.
>
> However, here is my problem. When I create a JSP using GNUJSP that uses
> an external java class (the same applies whether I jsp:usebean it or
> just use it in regular java code), I get ClassNotFoundExceptions unless
> the class in question is in the *system* classpath.
>
> This obviously means I can't reload my beans and other classes.
>
> Does anyone know if there's a way to configure GNUJSP/JServ to be able
> to load classes from the repository directories, so that they can be
> reloaded?
wow...I just went over this yesterday (or was it the day before?)
Your problem has nothing to do with class reloading. It has to do with the
WAY that classes are found and which classloader is doing the
Class.forName() to execute the code.
If you want to reload stuff AND not get those CNFE's, put EVERYTHING (except
ApacheJServ.jar) into your repositories= path.
-jon
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]