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 REST with Spring (video course) this week in the Spring 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:

It is sorta covered in the JavaRanch Style Guide.
subject: Displaying an XML file in a JSP
It's not a secret anymore!