|
You would have to add the directory to the system classpath and use the default class loader unless you put it in someplace like webapps/mywebapp/blablabla in which case you would use the thread context's class loader. David Morris >>> kulkarni_ash1312@xxxxxxxxx 1/7/2004 5:19:52 PM >>> Hi any clues how to add classpath to tomcat?? or will pick from system classpath Ashish --- David Morris <David.Morris@xxxxxxxxxxxxx> wrote: > It would be more flexible and less error prone to > add the directory > containing the file to your class path and use in > InputStream. All you > need is a class loader (you need to decide which one > suits your needs) > and getResourceAsStream(). > > David Morris
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.