pdate web.xml.
Dennis
<[EMAIL PROTECTED]>
10/05/2004 10:58 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
<[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
cc
Subject
RE: Load-on-startup init
servlet
Hi, Denis.
To g
Elsenheimer Straße 11
80867 München
Phone +49-89-54 74 21 34
Fax +49-89-54 74 21 99
> -Original Message-
> From: Denis Avdic [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 5. Oktober 2004 15:55
> To: Struts Users Mailing List
> Subject: Re: Load-on-startup init servlet
>
So I can call MessageResources.getMessageResources("blah") in the init() method?
Is there an order I have to load the servlets in web.xml in order for
that to work? (if I remember correctly, ActionServlet actually loads
those resources, right?)
On Tue, 5 Oct 2004 07:49:02 -0700 (PDT), Varun Garg
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(ServletC
4 matches
Mail list logo