• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to make use of XML in JSP  RSS feed

 
geetu hindu
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to make use of XML in JSP. i can write indepent XML but can't make out how to make use of it in JSP.
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The JSTL provides good features, to import a XML document to the JSP page and operate on it.

The code snippets are

1. Referencing the XML tag library from the code & the standard 'c' library


2. Importing the XML document from a given location.


After these, the variable xmldoc will have the document and it would be available for a range of operations .

Hope this helps.

Cheers,
Ram.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!