| Author |
Websphere6 and JSTL1.1 error
|
Alex Sun
Ranch Hand
Joined: Mar 23, 2007
Posts: 42
|
|
<c:import var="myxml" url="file.xml"/> after I import the xml string myxml, when I try parse xml in jsp page <x arse var="parsedXML" xml="${myxml}"/> I got an exception as following org.apache.taglibs.standard.tag.common.xml.UnresolvableException: $prefix:javax.servlet.forward.query_string at org.apache.taglibs.standard.tag.common.xml.XPathUtil$JstlVariableContext.notNull(Unknown Source) at org.apache.taglibs.standard.tag.common.xml.XPathUtil$JstlVariableContext.getVariableValue(Unknown Source) at org.apache.taglibs.standard.tag.common.xml.XPathUtil$JstlVariableContext.getVariableOrParam(Unknown Source) at org.apache.taglibs.standard.tag.common.xml.XPathUtil.fillVarStack(Unknown Source) at org.apache.taglibs.standard.tag.common.xml.XPathUtil.valueOf(Unknown Source) at org.apache.taglibs.standard.tag.common.xml.ExprSupport.doStartTag(Unknown Source) at com.ibm._jsp._search._jspx_meth_x_out_0(_search.java:580) at com.ibm._jsp._workers._jspx_meth_c_set_3(_search.java:606) anybody has an idea about that? The taglib has been defined in web.xml and jsp page like following <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/xml_rt" prefix="x" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <jsp-config> <taglib> <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri> <taglib-location>/WEB-INF/fmt-1_0.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jstl/core_rt</taglib-uri> <taglib-location>/WEB-INF/c-1_0-rt.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri> <taglib-location>/WEB-INF/sql-1_0.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jstl/xml_rt</taglib-uri> <taglib-location>/WEB-INF/x-1_0-rt.tld</taglib-location> </taglib> </jsp-config> Thanks in advance.
|
SCJP 5
SCWCD 1.4
SCDJWS 1.4
SCBCD 5
SCEA 5 (Part 1 cleared)
IBM Certified Solution Developer - WPS 6.1
|
 |
 |
|
|
subject: Websphere6 and JSTL1.1 error
|
|
|