aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
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
 
jQuery in Action, 2nd edition
 
subject: Displaying an XML file in a JSP
 
Similar Threads
Annotation in spring
xsl variables to core set
how to read the response coming from XML file in jsp
Reading a xml file
JSPs with xml using an xsd for transformation