I don't know if this answers the first part of your question. But in your
third paragraph where you seem to reframe the question. What I've done in
that case was to create servlet who's sole purpose is to initialize certain
parameters (database properties, other static properties, etc). The servlet
loads at startup before the struts servlet. I hope this helps. I've been
doing struts for a whole 2 days now!
----- Original Message -----
From: "Calvin Yu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 11:01 AM
Subject: System level properties?
> Hi,
>
> I apologize in advance if this question has been asked
> before, but I've search the mail archives and docs and
> haven't come up with an answer.
>
> Is there a place to specify system-level properties in
> Struts? For example, if the the Model components
> needed to retrieve environment related properties
> (remote server host and port, location of
> initialization files, etc), where would we get them
> from? I saw the 'application' initialization
> parameter, but that didn't seem to be the same context
> of properties I'm trying to retrieve.
>
> Another way to ask the question would be, where is the
> equivalent of overriding init() in HttpServlet to
> initializing the system? Is subclassing ActionServlet
> the preferred way?
>
>
> Calvin
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>