----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Make sure your not using the deprecated getServletNames() or getServlet()
methods. Use RequestDispatcher instead as explained in the following article.
http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
Glen Newton wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> I have a problem with jserv (i don't know about tomcat) but is is
> as follows:
>
> I have a servlet (foo.class) in a directory (/aa/bb) all set up in
> jserv, with the appropriate zone, etc. Initially foo.class is all
> there is: it does it all. It woks just fine.
>
> Now things have changed. Based on user input, foo.class dynamically loads
> a class which also exists in /aa/bb along with foo.class. foo.class can't
> find the class. this is because of jserv configuration. if /aa/bb is
> put in the jserv.properties file:
> wrapper.classpath=/aa/bb
>
> Then foo.class can find and load the class, but this messes up
> auto-reload.
>
> Does this call for a custom class loader??
>
> It is important that the classes are dynamically loaded for the
> application i have (i.e. that classes can be added/created after
> jserv starts up...). Any help would be appreciated.
>
> thanks,
>
> glen
>
> --
> --------------------------------------------------------------
> 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]
--
Alex Waltrip
Voice: (303) 779-1755
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
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]