AW: AW: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Rosenberg, Leon
Yep, exactly > -Ursprüngliche Nachricht- > Von: Kris Schneider [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 21. Juli 2004 17:30 > An: Struts Users Mailing List > Betreff: Re: AW: AW: OT: Problems with classpath under tomcat 5 > > Does "filename&q

Re: AW: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Kris Schneider
Nachricht- > > Von: Kris Schneider [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 21. Juli 2004 16:54 > > An: Struts Users Mailing List > > Betreff: Re: AW: OT: Problems with classpath under tomcat 5 > > > > .. > > String fileName = target.getConfigu

AW: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Rosenberg, Leon
Thanx, but it doesn't work either. > -Ursprüngliche Nachricht- > Von: Kris Schneider [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 21. Juli 2004 16:54 > An: Struts Users Mailing List > Betreff: Re: AW: OT: Problems with classpath under tomcat 5 >

Re: AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Kris Schneider
.. String fileName = target.getConfigurationName() + ".properties"; ClassLoader cl = Thread.currentThread().getContextClassLoader(); InputStream in = cl.getResourceAsStream(fileName); Properties props = new Properties(); props.load(in); .. Quoting "Rosenberg, Leon" <[EMAIL PROTECTED]>: > > > >

AW: OT: Problems with classpath under tomcat 5

2004-07-21 Thread Rosenberg, Leon
> -Ursprüngliche Nachricht- > Von: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 21. Juli 2004 16:10 > An: Struts Users Mailing List > Betreff: Re: OT: Problems with classpath under tomcat 5 > > Are you sure if it is not looking your properties file in the > classpath of