tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mart...@apache.org>
Subject RE: Problems with JSTL 1.1 and Tomcat 5 : UnresolvableException: $prefix:javax.servlet.include.query_string
Date Thu, 05 Feb 2004 05:44:39 GMT
I think this is what I was seeing when I was running JDK 1.4.1 instead of
1.4.2. I *thought* I was running 1.4.2, but it turned out that my path and
my JAVA_HOME environment variable didn't both say the same thing...

--
Martin Cooper


On Wed, 4 Feb 2004 Jason.West@ky.gov wrote:

> I tried the nightly build of TC 5 20040203.
>
> Now I get a
> javax.servlet.ServletException:
> javax.xml.transform.TransformerConfigurationException:
> javax.xml.transform.TransformerException: java.lang.IllegalStateException:
> can't declare any more prefixes in this context
>
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
> mpl.java:864)
>
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
> l.java:800)
>
> org.apache.jsp.WEB_002dINF.pages.JobSearch_jsp._jspService(JobSearch_jsp.jav
> a:172)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 69)
>
> org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
>
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:455)
>
> org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:320)
>
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> 	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
> when I hit an x:transform
>
> <c:import var="xslt" url="/WEB-INF/xsl/onet3.xsl" />
> <x:transform xml="${onet3_titles_xml}" xslt="${xslt}" >
> 	<x:param name="Znode" value="${onet3}" />
> </x:transform>
>
> There seems to near nothing on this exception in google.
>
> TIA
>
> -----Original Message-----
> From: Kris Schneider [mailto:kris@dotech.com]
> Sent: Wednesday, February 04, 2004 12:44 PM
> To: Tag Libraries Users List
> Subject: Re: Problems with JSTL 1.1 and Tomcat 5 :
> UnresolvableException: $prefix:javax.servlet.include.query_string
>
>
> Try a nightly build of TC 5. See:
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26611
>
> And this recent thread:
>
> http://marc.theaimsgroup.com/?t=107540695900008
>
> Quoting Aadi Deshpande <mailinglists@clubmom-inc.com>:
>
> > Hi, I'm tryin to use Tomcat 5 and the newly released JSTL 1.1 and I get
> > the following error whenever I try to do a x:anything?
> >
> > I've gotten this same error under the Beta 1 running under Tomcat 5.
> >
> > Does anyone have any insight into why I would be getting this error?
> > I thought the JSTL was tested under Tomcat 5, so I'm not sure what I am
> > doing wrong.
> >
> > Thanks in advance for any help,
> >
> > -a
> >
> >
> >
> >
> > org.apache.taglibs.standard.tag.common.xml.UnresolvableException:
> > $prefix:javax.servlet.include.query_string
> >
> org.apache.taglibs.standard.tag.common.xml.XPathUtil$JstlVariableContext.not
> ull(Unknown
> > Source)
> >
> org.apache.taglibs.standard.tag.common.xml.XPathUtil$JstlVariableContext.get
> VariableValue(Unknown
> > Source)
> >
> org.apache.taglibs.standard.tag.common.xml.XPathUtil$JstlVariableContext.get
> VariableOrParam(Unknown
> > Source)
> >
> org.apache.taglibs.standard.tag.common.xml.XPathUtil.fillVarStack(Unknown
> > Source)
> >
> org.apache.taglibs.standard.tag.common.xml.XPathUtil.selectNodes(Unknown
> > Source)
> >
> org.apache.taglibs.standard.tag.common.xml.ForEachTag.prepare(Unknown
> > Source)
> > 	javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(Unknown
> Source)
> >
> org.apache.jsp.core.skeleton.mom_005frewards_005fcallout_jsp._jspx_meth_x_fo
> rEach_0(mom_005frewards_005fcallout_jsp.java:2138)
> >
> org.apache.jsp.core.skeleton.mom_005frewards_005fcallout_jsp._jspx_meth_cms_
> randomSet_0(mom_005frewards_005fcallout_jsp.java:2113)
> >
> org.apache.jsp.core.skeleton.mom_005frewards_005fcallout_jsp._jspService(mom
> _005frewards_005fcallout_jsp.java:134)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> > 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unkn
> own
> > Source)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown
> > Source)
> >
> org.apache.jsp.account.callouts.index_005fgrocerycardform_005fcallout_jsp._j
> spx_meth_c_import_0(index_005fgrocerycardform_005fcallout_jsp.java:579)
> >
> org.apache.jsp.account.callouts.index_005fgrocerycardform_005fcallout_jsp._j
> spx_meth_c_otherwise_0(index_005fgrocerycardform_005fcallout_jsp.java:555)
> >
> org.apache.jsp.account.callouts.index_005fgrocerycardform_005fcallout_jsp._j
> spx_meth_c_choose_0(index_005fgrocerycardform_005fcallout_jsp.java:284)
> >
> org.apache.jsp.account.callouts.index_005fgrocerycardform_005fcallout_jsp._j
> spService(index_005fgrocerycardform_005fcallout_jsp.java:128)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> > 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unkn
> own
> > Source)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown
> > Source)
> >
> org.apache.jsp.loyalty_005findex_jsp._jspx_meth_c_import_1(loyalty_005findex
> _jsp.java:419)
> >
> org.apache.jsp.loyalty_005findex_jsp._jspService(loyalty_005findex_jsp.java:
> 126)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> > 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unkn
> own
> > Source)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown
> > Source)
> >
> org.apache.jsp.core.skeleton.layout_005fno_005frightnav_jsp._jspx_meth_c_imp
> ort_4(layout_005fno_005frightnav_jsp.java:650)
> >
> org.apache.jsp.core.skeleton.layout_005fno_005frightnav_jsp._jspx_meth_c_if_
> 2(layout_005fno_005frightnav_jsp.java:625)
> >
> org.apache.jsp.core.skeleton.layout_005fno_005frightnav_jsp._jspx_meth_c_for
> Tokens_1(layout_005fno_005frightnav_jsp.java:592)
> >
> org.apache.jsp.core.skeleton.layout_005fno_005frightnav_jsp._jspx_meth_c_whe
> n_3(layout_005fno_005frightnav_jsp.java:562)
> >
> org.apache.jsp.core.skeleton.layout_005fno_005frightnav_jsp._jspx_meth_c_cho
> ose_2(layout_005fno_005frightnav_jsp.java:491)
> >
> org.apache.jsp.core.skeleton.layout_005fno_005frightnav_jsp._jspService(layo
> ut_005fno_005frightnav_jsp.java:93)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> > 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unkn
> own
> > Source)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown
> > Source)
> >
> org.apache.jsp.core.skeleton.skeleton_jsp._jspx_meth_c_import_7(skeleton_jsp
> .java:1590)
> >
> org.apache.jsp.core.skeleton.skeleton_jsp._jspx_meth_c_when_10(skeleton_jsp.
> java:1565)
> >
> org.apache.jsp.core.skeleton.skeleton_jsp._jspx_meth_c_choose_3(skeleton_jsp
> .java:1486)
> >
> org.apache.jsp.core.skeleton.skeleton_jsp._jspx_meth_c_otherwise_2(skeleton_
> jsp.java:1458)
> >
> org.apache.jsp.core.skeleton.skeleton_jsp._jspx_meth_c_choose_2(skeleton_jsp
> .java:970)
> >
> org.apache.jsp.core.skeleton.skeleton_jsp._jspService(skeleton_jsp.java:374)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> > 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unkn
> own
> > Source)
> >
> org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown
> > Source)
> > 	org.apache.jsp.index_jsp._jspx_meth_c_import_0(index_jsp.java:175)
> > 	org.apache.jsp.index_jsp._jspx_meth_c_when_0(index_jsp.java:124)
> > 	org.apache.jsp.index_jsp._jspx_meth_c_choose_0(index_jsp.java:89)
> > 	org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 11)
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
> > 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> > 	clubmom.framework.ProfileFilter.doFilter(ProfileFilter.java:98)
> >
> com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLi
> fecycleFilter.java:62)
> >
> clubmom.framework.SecureRedirectFilter.doFilter(SecureRedirectFilter.java:63
> )
> >
> clubmom.framework.PersistentHibernateSession.doFilter(PersistentHibernateSes
> sion.java:60)
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message