tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asaf Lahav <asaf.la...@primagrid.com>
Subject RE: Application Configuration
Date Sun, 14 May 2006 11:09:23 GMT
I have several xml files that I need to load from a web service application.
The xml files are not packaged into a WAR file or any other cabinet.
Where would be the best place to put the xml files and what would be the
best way to read it?

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254

 

-----Original Message-----
From: Mark Petrovic [mailto:mspetrovic@gmail.com] 
Sent: Monday, May 08, 2006 8:10 PM
To: Tomcat Users List
Subject: Re: Application Configuration

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message