• 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

JSP and XML question

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm working on an application that requires the use of JSP pages and XML data. What is the best way to parse the XML data each time the jsp page is accessed?
thanks
 
Author
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Alfonso Harding:
I'm working on an application that requires the use of JSP pages and XML data. What is the best way to parse the XML data each time the jsp page is accessed?


The JSP Standard Tag Library (JSTL) offers standard tags for parsing and manipulating XML from within a JSP page. For instance, you can parse a document with the <x:parse> tag, loop over parts of it with <x:forEach>, display pieces with <x:out>, and so forth. Feel free to post here if you've got any questions, or see the following URLs for more info:
Sun's official JSTL page
Book site for JSTL in Action
[ August 26, 2002: Message edited by: Shawn Bayern ]
 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic