Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Esteban González
Hi! I´ve just moved an old app that we had running using Jserv to tomcat4.0.3 But i have problems with this p = new Properties(); InputStream is = p.getClass().getResourceAsStream(/icard.properties); I keep getting null no matter where i put the icard.properties file. i´ve placed

Re: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Andreas Probst
Hi Esteban, try p.getClass().getResourceAsStream(/WEB-INF/icard.properties); (inside WEB-INF) or p.getClass().getResourceAsStream(/WEB- INF/classes/icard.properties); (inside classes) or p.getClass().getResourceAsStream(/WEB- INF/lib/icard.properties); (inside lib) If this doesn't work, try

Re: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Esteban González
Users List [EMAIL PROTECTED] Sent: Monday, December 02, 2002 12:57 PM Subject: Re: Tomcat 4.0.3 getResourceAsStream Hi Esteban, try p.getClass().getResourceAsStream(/WEB-INF/icard.properties); (inside WEB-INF) or p.getClass().getResourceAsStream(/WEB- INF/classes/icard.properties); (inside

Re: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Andreas Probst
to place all .properties files. is that possible?... Best regards, Esteban - Original Message - From: Andreas Probst [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 02, 2002 12:57 PM Subject: Re: Tomcat 4.0.3 getResourceAsStream Hi Esteban, try

Re[2]: Tomcat 4.0.3 getResourceAsStream

2002-12-02 Thread Jacob Kjome
.properties files. EG is that possible?... EG Best regards, EG Esteban EG - Original Message - EG From: Andreas Probst [EMAIL PROTECTED] EG To: Tomcat Users List [EMAIL PROTECTED] EG Sent: Monday, December 02, 2002 12:57 PM EG Subject: Re: Tomcat 4.0.3 getResourceAsStream EG Hi Esteban, EG try