File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Displaying an XML file in a JSP" Watch "Displaying an XML file in a JSP" New topic

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

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:

I agree. Here's the link:
subject: Displaying an XML file in a JSP
Similar Threads
how to read the response coming from XML file in jsp
Reading a xml file
JSPs with xml using an xsd for transformation
xsl variables to core set
Annotation in spring