On Thu, 6 May 2004, Arora, Avinash wrote:

> Hi,
>   How can we specify the location of config file, so that we don't
> have to hardcode it in our code. Thanks.

You can specify the location in the config file.

Oh wait, never mind.

Other alternatives are specifying it as init-param's (either servlet
or context) in web.xml.  Still somewhat hard-coded, but not as bad as
putting it in the servlet code itself.  A bit of a bootstrapping issue
here.

Also, I think I saw something here recently about being to specify
certain init-param's in server.xml, not sure of the details, maybe
that's a possibility.

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to