Reading a xml file from a web application.

Reply

Join Date: Sep 2006
Posts: 30
Reputation: sarath.koiloth is an unknown quantity at this point 
Solved Threads: 0
sarath.koiloth's Avatar
sarath.koiloth sarath.koiloth is offline Offline
Light Poster

Reading a xml file from a web application.

 
0
  #1
Sep 12th, 2007
Hi,

i want to get an xml file from a web application. what are the procedures to access the file.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,185
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 482
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Reading a xml file from a web application.

 
0
  #2
Sep 12th, 2007
Just yeasterday I pointed another member toward this tutorial
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 30
Reputation: sarath.koiloth is an unknown quantity at this point 
Solved Threads: 0
sarath.koiloth's Avatar
sarath.koiloth sarath.koiloth is offline Offline
Light Poster

Re: Reading a xml file from a web application.

 
0
  #3
Sep 12th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,185
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 482
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Reading a xml file from a web application.

 
0
  #4
Sep 12th, 2007
Originally Posted by sarath.koiloth View Post
i need a xml file,which is placed in the server.
Can you explain more?
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 30
Reputation: sarath.koiloth is an unknown quantity at this point 
Solved Threads: 0
sarath.koiloth's Avatar
sarath.koiloth sarath.koiloth is offline Offline
Light Poster

Re: Reading a xml file from a web application.

 
0
  #5
Sep 12th, 2007
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..?
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 8
Reputation: vivek_green is an unknown quantity at this point 
Solved Threads: 0
vivek_green vivek_green is offline Offline
Newbie Poster

Re: Reading a xml file from a web application.

 
0
  #6
Sep 12th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Reading a xml file from a web application.

 
0
  #7
Sep 12th, 2007
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 30
Reputation: sarath.koiloth is an unknown quantity at this point 
Solved Threads: 0
sarath.koiloth's Avatar
sarath.koiloth sarath.koiloth is offline Offline
Light Poster

Re: Reading a xml file from a web application.

 
0
  #8
Sep 21st, 2007
Thank you freinds
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC