Re: Properties file [SOLVED?]

2003-02-26 Thread Jacob Kjome
Why don't you just load the properties file as an inputstream. If you get the path and then use that for a File object, you are making your webapp non-portable. If your webapp is served directly from a .war file, you won't have the ability do perform File IO. Use streams and URL's and you

RE: Properties file [SOLVED?]

2003-02-26 Thread José Moreira
-feira, 26 de Fevereiro de 2003 15:35 Para: Tomcat Users List Assunto: Re: Properties file [SOLVED?] Why don't you just load the properties file as an inputstream. If you get the path and then use that for a File object, you are making your webapp non-portable. If your webapp is served directly

RE: Properties file [SOLVED?]

2003-02-26 Thread Shapira, Yoav
] Enviada: quarta-feira, 26 de Fevereiro de 2003 15:35 Para: Tomcat Users List Assunto: Re: Properties file [SOLVED?] Why don't you just load the properties file as an inputstream. If you get the path and then use that for a File object, you are making your webapp non-portable. If your webapp is served

RE: Properties file [SOLVED?]

2003-02-26 Thread Craig R. McClanahan
On Wed, 26 Feb 2003, José Moreira wrote: Date: Wed, 26 Feb 2003 16:31:23 - From: José Moreira [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Properties file [SOLVED?] still didnt work ... my code :\ String path

Re: Properties file [SOLVED?]

2003-02-26 Thread Will Hartung
From: Craig R. McClanahan [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 11:37 AM Subject: RE: Properties file [SOLVED?] From: José Moreira [EMAIL PROTECTED] String path = this.getClass().getClassLoader().getResource(config.properties).getPath(). toString