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:[EMAIL PROTECTED] 
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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> *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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to