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
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
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
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
.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