• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlets and XML

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i have an XML file of the form:
<elt>
<dat>C:\My Documents\values.txt</dat>
<fig>C:\My Documentns\values2.txt</fig>
<elt>
now i want to use a servlet that extracts the values from the text files. can u help me out with the pseudo-code using which i can create a servlet that extracts the data values from the text files?
thanks in advance
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If you want a pseudo-code for reading the xml file, the code is available in the Sun's J2EE tutorial. It neatly covers both SAX and DOM.
Regards,
Sanju
 
reply
    Bookmark Topic Watch Topic
  • New Topic