tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schäfer <andreas.schae...@madplanet.ch>
Subject Exception in Simple custom tag example
Date Sat, 06 Nov 1999 19:33:56 GMT
Hi

By starting the "Simple custom tag example" in the JSP examples I got the following exception
returned:

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPwork\mpg003%3A8088%2Fexamples\_0005cjsp_0005csimpletag_0005cfoo_0002ejspfoo_jsp_0.java:74:
Class jsp.simpletag.JspTagException not found.
                        throw new JspTagException("Since tag handler class examples.FooTag
implements BodyTag, it can't return Tag.EVAL_BODY_INCLUDE");
                                  ^
work\mpg003%3A8088%2Fexamples\_0005cjsp_0005csimpletag_0005cfoo_0002ejspfoo_jsp_0.java:125:
Class jsp.simpletag.JspTagException not found.
                      throw new JspTagException("Since tag handler class examples.LogTag implements
BodyTag, it can't return Tag.EVAL_BODY_INCLUDE");
                                ^
work\mpg003%3A8088%2Fexamples\_0005cjsp_0005csimpletag_0005cfoo_0002ejspfoo_jsp_0.java:169:
Class jsp.simpletag.JspTagException not found.
                      throw new JspTagException("Since tag handler class examples.LogTag implements
BodyTag, it can't return Tag.EVAL_BODY_INCLUDE");
                                ^
3 errors

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:216)
        at org.apache.jasper.runtime.JspLoader.loadJSP(JspLoader.java:226)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:142)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:153)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:243)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:348)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
        at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
        at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
        at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:125)
        at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:302)
        at java.lang.Thread.run(Thread.java:479)

Environment: WNT4.0, Jdk1.2.1 with Hotspot, Tomcat dowloaded 10 o'clock GMT.

Bye-bye Andy

Mime
View raw message