Re: Where to put application parameters?

2001-04-06 Thread Petr Podsednik
Try this: String path = "your-relative-path.xml" InputStream ins= null; try { ins = getClass().getClassLoader().getResourceAsStream(path); } catch (Throwable ex) { com.amaio.util.sys.prn("Error getting XML resource"+ex); } - Original Message - From: Toth [@FREEMAIL],

RE: Where to put application parameters?

2001-04-06 Thread Toth [EMAIL PROTECTED], Adam \(E-mail\)
ourse it's working with java -Doption=value -jar orion.jar BR, Adam -Original Message- From: Petr Podsednik To: Orion-Interest Subject: Re: Where to put application parameters? Try this: String path = "your-relative-path.xml" InputStream ins= null; try

RE: Where to put application parameters?

2001-04-06 Thread Peter Neil
k if you try and use the getInitParameter in the service/post methods. try getting the configuration and the servletcontext from that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Petr Podsednik Sent: 06 April 2001 08:55 To: Orion-Interest Subject: Re: Wher