Hello David,
Servlet engines that have their own custom class loader may not implement
getResource or getResourceAsStream correctly. Try moving your servlet to
the classes directory or to a directory in the CLASSPATH so the default
classloader loads your servlet. If this fixes the problem, then there's a
bug in JRun's classloader.
-Bill
David Mossakowski wrote:
>
> Hi all,
>
> getResource and getResourceAsStream always return null in my servlet.
> I'm running the build 145 version of JRun on Enterprise 3.6 on NT. I
> don't know what is the problem.
>
> If you're using JRun and this works for you please let me know (on my
> private address).
>
> Please help me 'cause I'm losing my mind.
>
> dave.
>
> --
> David Mossakowski [EMAIL PROTECTED]
> http://www.dwdog.com/styk 212.310.7275
>
> "I don't sit idly by, I'm planning a big surprise"
> F U G A Z I
--
Bill Burton, Senior Internet Software Engineer
E-mail: [EMAIL PROTECTED]
Address: Progress Software Corporation, 14 Oak Park, Bedford, MA 01730
http://www.progress.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html