Meaningless Drivel is fun!*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying an XML file in a JSP