Problem with JSTL
"Emandi, Srinivasrao" <[email protected]>
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all
I m using jstl to parse xml in my jsp,
i m facing a strange problem with the uri in <%@ taglib
The following code is working fine:
<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
<c:set var="val" value="${requestScope.responseXML}" />
<x:parse var="doc" xml="${val}" />
however xml in <x:parse ..is deprecated one i want to use "doc" in place of "xml" , but its throwing an exception :"Attribute doc invalid for tag parse according to TLD"
If i use <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> then the result is "javax.servlet.jsp.JspException: Content is not allowed in prolog."
Version i m using : Tomcat : 5.0.3
jstl :1.1
jetspeed 2
Can any one please give some idea to solve this problem.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.