Re: how to read ApplicationResources.properties from a servlet

2004-05-11 Thread Riyad Kalla
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("ApplicationResource

how to read ApplicationResources.properties from a servlet

2004-05-11 Thread Julio Cesar De Salvo
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