• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying an XML file in a JSP

 
rastas biggs
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic