tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finn Ellebaek Nielsen" <...@changegroup.dk>
Subject How do I make the simpletag/foo.jsp example work?
Date Mon, 22 May 2000 21:57:17 GMT
Dear All.

I've installed Apache 1.3.12 and Tomcat 3.1 on Windows 4.0 SP5. All JSP
examples in http://myserver/examples/jsp/... work but when I try to run
foo.jsp I get:

Error: 500
Location: /examples/jsp/simpletag/foo.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSP
	at java.lang.Throwable.(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compi
led Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled
Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)

Root cause:
java.lang.NullPointerException
	at java.text.MessageFormat.format(Compiled Code)
	at java.text.MessageFormat.format(Compiled Code)
	at org.apache.jasper.Constants.getString(Compiled Code)
	at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(Compiled
Code)
	at org.apache.jasper.compiler.DelegatingListener.handleDirective(Compiled
Code)
	at org.apache.jasper.compiler.Parser$Directive.accept(Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Compiled Code)
	at org.apache.jasper.compiler.Parser.parse(Compiled Code)
	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compi
led Code)
	at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled
Code)
	at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
	at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
	at javax.servlet.http.HttpServlet.service(Compiled Code)
	at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
	at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
	at java.lang.Thread.run(Compiled Code)

What do I need to get the example to work?

Cheers,

Finn

---------------------------------------------------
Finn Ellebaek Nielsen  ChangeGroup ApS
fen@changegroup.dk     Kronprinsessegade 54, 4. sal
Phone  +45 33327778    DK-1306  Koebenhavn K
Mobile +45 20324925    Denmark
---------------------------------------------------
          Where do you want to GPF today?



Mime
View raw message