aspose file tools*
The moose likes JSP and the fly likes JSP and XML question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and XML question" Watch "JSP and XML question" New topic
Author

JSP and XML question

Alfonso Harding
Ranch Hand

Joined: Feb 09, 2002
Posts: 35
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
Shawn Bayern
Author
Ranch Hand

Joined: May 06, 2002
Posts: 160
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 <xut>, 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 ]

Shawn Bayern<br />"JSTL in Action" <a href="http://www.jstlbook.com" target="_blank" rel="nofollow">http://www.jstlbook.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and XML question