Reading text file in classpath and web app

2004-01-29 Thread Andi Reinbrech
Hi, I have an Axis web application, which calls a 3rd party API. This API opens up a text file, emapi.cfg, which needs to be a) on the CLASSPATH and b) readable. I know web apps aren't supposed to open IO files, but this is unfortunately something I can't do anything about, as Iona Orbix/CORBA

Re: Reading text file in classpath and web app

2004-01-29 Thread Tim Funk
How does it open the file? The solution might be as easy as dropping the config file in WEB-INF/classes/(optional package heirarchy) -Tim Andi Reinbrech wrote: Hi, I have an Axis web application, which calls a 3rd party API. This API opens up a text file, emapi.cfg, which needs to be a) on

RE: Reading text file in classpath and web app

2004-01-29 Thread Shapira, Yoav
]' Subject: Reading text file in classpath and web app Hi, I have an Axis web application, which calls a 3rd party API. This API opens up a text file, emapi.cfg, which needs to be a) on the CLASSPATH and b) readable. I know web apps aren't supposed to open IO files, but this is unfortunately something I