tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Petrovic" <mspetro...@gmail.com>
Subject Re: Application Configuration
Date Mon, 08 May 2006 18:09:35 GMT
You can put those types of resources in your .war file and access them as
"resources".

servlet.getClass().getResource("xmlfile.xml");

type of scheme.

On 5/8/06, Asaf Lahav <asaf.lahav@primagrid.com> wrote:
>
>  Hi everybody,
>
>
>
> I still need help on this. Please read below…
>
>
>
> *Asaf Lahav*
>
> *VP R&D, Prima Grid LTD.*
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>   ------------------------------
>
> *From:* Asaf Lahav [mailto:asaf.lahav@primagrid.com]
> *Sent:* Monday, May 08, 2006 11:30 AM
> *To:* users@tomcat.apache.org
> *Subject:* Application Configuration
>
>
>
> Hi all,
>
>
>
> I'm building a web services application that requires configuration xml
> files.
>
> Is there a location where I should put the xml configuration files?
>
> Is there a best practice saying where to put configuration files?
>
> If there is, how am I expected to get the configuration info from there?
>
>
>
> Thanks in advance,
>
>
>
> *Asaf Lahav*
>
> *VP R&D, Prima Grid LTD.*
>
> Cellular:  972-54-4717955
>
> Phone:   972-3-6540255
>
> Fax:       972-3-6540254
>
>
>



--
Mark
AE6RT

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message