Re: ServletContext.getResourceAsStream() in 3.2?

2000-12-12 Thread Sean Dowd
If you want to load a file that is under WEB-INF, you don't need to involve the class loader at all. Simply use: InputStream is = getServletContext().getResourceAsStream("/WEB-INF/myprops.properties"); Cool. That works (missed the part about relative to the context directory in

ServletContext.getResourceAsStream() in 3.2?

2000-12-11 Thread Sean Dowd
I'm trying to load a properties file at startup in a servlet by doing a ClassLoader loader = Thread.currentThread().getContextClassLoader(); InputStream is = null; is = getServletContext().getResourceAsStream( propFileName ); while(loader != null is == null) { is =

Load balancing status test

2000-11-01 Thread Sean Dowd
I'm attempting to migrate from jserv to tomcat and everything appears to be working well, except for testing the status of the servers in my load balancing set. The status page appears (/jserv/status?module=xxx.domain) and I see the correct load balancing definitions. But if I poke the Test