Hi,

i want to get an xml file from a web application. what are the procedures to access the file.

Re: Reading a xml file from a web application. 80 80

Just yeasterday I pointed another member toward this tutorial

Re: Reading a xml file from a web application. 80 80

Thanks Peter for you reply.

I had created the user freindly xml editor.there are some drop-downs. To populate these drop downs, i need a xml file,which is placed in the server.How can i get that file.

Re: Reading a xml file from a web application. 80 80

i need a xml file,which is placed in the server.

Can you explain more?

Re: Reading a xml file from a web application. 80 80

There is one web application which is already running,I want to get the xml file from that application.I need to get the data from that xml.What is the procedure for getting that file..?

Re: Reading a xml file from a web application. 80 80

hi,
There are lot of third party Java-XML parsers available.U can use that to get the data from the coresponding tag and build the drop down.
The other option is to use XSLT to build the editor controls for the XML editor.

Re: Reading a xml file from a web application. 80 80

A properly configured application server won't let any application running in it directly access any file system resources that aren't on that application's context root (so inside its WEB-INF directory for a Java web application server, plus directories specifically specified in deployment descriptors) for security reasons.

Apart from that there's no difference whatsoever between file access from web applications and any other applications. be it XML files or anything else.

Re: Reading a xml file from a web application. 80 80

Thank you freinds

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.