This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Reload XML, before Parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Reload XML, before Parsing" Watch "Reload XML, before Parsing" New topic
Author

Reload XML, before Parsing

manoj kumar jena
Greenhorn

Joined: Sep 24, 2007
Posts: 25
Hi Friends,
I have a jsp page which creates an XML file and writes the data from the database into that xml.and i am populating the data from xml onto a form.
my problem is that i am not getting the updated data from xml.If i reload that xml then i am able get the updated data in my form.so how to reload the xml file automatically.
after each and every 5 second i retrieve the data from the xml.


Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

That depends on what "reload" means. Would you like to clarify?
manoj kumar jena
Greenhorn

Joined: Sep 24, 2007
Posts: 25
Here is my problem,
i am writing data into xml from database in each and every 5 seconds.and i am populating the data from that xml.while populating i am not getting the updated data from XML.To get the updated data i have to open the file, then i get a confirmation box (whether i want to reload the file or not? in ECLIPSE.) if i click on reload then i am getting the updated data.so how to reload that XML file automatically.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reload XML, before Parsing
 
Similar Threads
xml reloading
(Anyone) using propertyfile ?
Object Caching
Writing & into XML file
Extract db data into a XML