MessageResources res = MessageResources.getMessageResources("ApplicationResources");
If you are using the property file name ApplicationResources in the root folder. In the init method of the servlet that you are loading at startup, you can do whatever you want. public void init(ServletConfig config) throws ServletException { --- Denis Avdic <[EMAIL PROTECTED]> wrote: > I am trying to set up a start up sequence for my app > but I have never > set up something like that. > > Basically I want to initialize some classes with > attributes found in > my resources file. How would I go about doing this? > I set up my > web.xml file to load a servlet on startup, but I am > not sure how I am > supposed to get to the message resources that are > loaded in the > ActionServlet. > > I know I saw this done before but I can't remember > how it was set up. > > Thanks. > > Denis > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]