Howdy,
Are you using a standard (i.e. stable, published) release of the JSTL
implementation?
Yoav Shapira
Millennium ChemInformatics
>-----Original Message-----
>From: Sjoerd van Leent [mailto:svanleent@(protected)]
>Sent: Tuesday, August 19, 2003 3:48 PM
>To: 'Tomcat Users List'
>Subject: Problem using XPath and x:set, x:out and x:forEach
>
>In short I'm using the following tags:
>
><jsp:root ...>
><c:import url="WEB-INF/xml/news.xml" var="xmlnews" />
><x:parse xml="${xmlnews}" varDom="news" />
><x:out select="$news" escapeXml="true" />
></jsp:root>
>
>With this document in WEB-INF/xml/news.xml:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
>
><items>
> <item>
> blehbleh
> </item>
></items>
>
>Reading the documentation of XPath, this should simply print the total
>xml-file without the <?...?> section
>
>However, doing this, I get the following exception:
>
>-----------------------------------------------------------
>
>
java.lang.VerifyError: Cannot inherit from final class
>
java.lang.ClassLoader.defineClass0(Native Method)
>
java.lang.ClassLoader.defineClass (
ClassLoader.java:502)
>
>
java.security.SecureClassLoader.defineClass (
SecureClassLoader.java:123)
>
>
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappCl
a
>ssLoader.java:1656)
>
>
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoade
r
>.java:891)
>
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade
r
>.java:1340)
>
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade
r
>.java:1220)
>
java.lang.ClassLoader.loadClassInternal (
ClassLoader.java:315)
>
>
org.apache.taglibs.standard.tag.common.xml.ExprSupport.doStartTag(Unkno
w
>n Source)
> org.apache.jsp.index_jsp._jspx_meth_x_out_0(index_jsp.java:192)
> org.apache.jsp.index_jsp._jspService(index_jsp.java:114)
>
>
org.apache.jasper.runtime.HttpJspBase.service (
HttpJspBase.java:136)
>
javax.servlet.http.HttpServlet.service (
HttpServlet.java:856)
>
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
a
>va:320)
>
>
org.apache.jasper.servlet.JspServlet.serviceJspFile (
JspServlet.java:293
)
>
>
org.apache.jasper.servlet.JspServlet.service (
JspServlet.java:240)
>
javax.servlet.http.HttpServlet.service (
HttpServlet.java:856)
>
>-----------------------------------------------------------
>
>Does anyone know what I'm doing wrong?
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)