wood burning stoves 2.0*
The moose likes Websphere and the fly likes Websphere6 and JSTL1.1 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere6 and JSTL1.1 error" Watch "Websphere6 and JSTL1.1 error" New topic

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" %>





Thanks in advance.

SCEA 5 (Part 1 cleared)
IBM Certified Solution Developer - WPS 6.1
It is sorta covered in the JavaRanch Style Guide.
subject: Websphere6 and JSTL1.1 error