You could subclass the ActionServlet with your own instance that in its init
method reads the properties file...
I think this should do the trick, please fix the path when necessary:
Properties properties = new
Properties().load(MyActionServlet.getClass().getResourceAsStream("ApplicationResources.properties");
you could probably break that into multiple lines to make it easier to read.
On Tuesday 11 May 2004 12:45 pm, Julio Cesar De Salvo wrote:
> Hi, I was wondering if there's a chance to read the
> ApplicationResources.propoerties file outside the struts frame work (a
> servlet) and what the best way to do so.
>
> Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]