It does appear to be a reserved word problem. However, I tried the same tag
in JRun and the attribute did not cause any problems.


-----Original Message-----
From: Hawkins, Keith (Keith)
To: [EMAIL PROTECTED]
Sent: 5/21/01 12:31 PM
Subject: RE: Custom Tag Problem

Are you running into a reserved word problem?  Have you tried renaming
the 
attribute to something other than "class"?  (I don't know much about
custom 
tags, so I am just going by a hunch here.) 

-----Original Message----- 
From: Kevin Long [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] 
Sent: Monday, May 21, 2001 11:43 AM 
To: '[EMAIL PROTECTED]' 
Subject: Custom Tag Problem 



I'm using Tomcat 3.2.1.  I have a custom tag that has some standard HTML

attributes in the custom tag.  One of the attributes is called "class". 
When I try to load the JSP page that contains this tag with the
attribute, 
I'm getting a compile error.  Here is the stack trace: 

org.apache.jasper.JasperException: Unable to compile class for JSP 
        at 
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:476) 
        at 
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146
) 
        at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) 
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J
spSe 
rvlet.java:152) 
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.ja 
va:164) 
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)

        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) 
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
        at 
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)

        at org.apache.tomcat.core.Handler.service(Handler.java:286) 
        at 
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) 
        at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:79 
7) 
        at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) 
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpC 
onnectionHandler.java:210) 
        at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
) 
        at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
8) 
        at java.lang.Thread.run(Thread.java:484 

Thanks for any assistance! 

Kevin Long 
[EMAIL PROTECTED] 

Reply via email to