File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Displaying an XML file in a JSP 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 » Java » JSP
Reply Bookmark "Displaying an XML file in a JSP" Watch "Displaying an XML file in a JSP" New topic
Author

Displaying an XML file in a JSP

rastas biggs
Ranch Hand

Joined: Sep 24, 2004
Posts: 41
Can I get and xml file and display the fields on a jsp page? If so is there some sample code

rb
Helmut Lerch
Ranch Hand

Joined: Feb 11, 2001
Posts: 48
I am not sure, if I understand your question.

But if you want to import data from an xml file in your jsp Page you can use
for example jstl:

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL5.html#wp63716
or
http://www.javaranch.com/newsletter/200311/Nov2003Newsletter-JSTL-Excerpt.html

Helmut
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Displaying an XML file in a JSP
 
Similar Threads
Reading a xml file
Annotation in spring
xsl variables to core set
how to read the response coming from XML file in jsp
JSPs with xml using an xsd for transformation