lets say i have an xml file “path.xml” that goes like this:
<paths>
<path id="first">
<url>http://blablabla</url>
</path>
<path id="second">
<url>http://blablabla</url>
</path>
</paths>
i have a jsp file from which i want to read url based on the id.
for example:
i want to write in the jsp file some java code like:String path = get from xml file the “url”, where path id = “second”.
how is this done in jsp? i am not very experienced with Dom parsing in jsp
thanks a lot:)
You could use XML Tag Library
: