> From: Lin Chun [mailto:franks1...@gmail.com]
> Subject: Re: Why myApps classpath is tomcat/common
> 
> I log the classpath by
> 
> MyClass.class.getClassLoader().getResource("/")
> Thread.currentThread().getContextClassLoader().getResource("")

I see no logging here.

You would likely be better off using getResourceAsStream(), since the URL 
returned by getResource() may not be useful.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to