In the examples that come with Tomcat, all the servlet examples work fine.
But from the jsp examples, some work and some have a compile error.
Numberguess, checkbox, and color work fine.
All the other examples give me an internal servlet error.
Tomcat is installed on an Mac X server, with Apache running as the main web
server. Does anyone have a clue why some jsp is working but most isn't?
Error message
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSP/Local/Library/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples/_0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0.java:6:
Package javax.servlet.jsp.tagext not found in import.
import javax.servlet.jsp.tagext.*;
^
/Local/Library/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples/_0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0.java:12:
Package org.apache.jasper.runtime not found in import.
import org.apache.jasper.runtime.*;
^
/Local/Library/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples/_0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0.java:14:
Class org.apache.jasper.JasperException not found in import.
import org.apache.jasper.JasperException;
^
/Local/Library/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples/_0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0.java:17:
Superclass jsp.dates.HttpJspBase of class
jsp.dates._0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0 not found.
public class _0002fjsp_0002fdates_0002fdate_0002ejspdate_jsp_0 extends
HttpJspBase {
^
4 errors
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at javax.servlet.ServletException.(Compiled Code)
at org.apache.jasper.JasperException.(Compiled Code)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(Compiled Code)
at org.apache.jasper.servlet.JasperLoader.loadJSP(Compiled Code)
at org.apache.jasper.servlet.JspServlet.loadJSP(Compiled Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
Code)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled
Code)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
at org.apache.tomcat.core.Handler.service(Compiled Code)
at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
at org.apache.tomcat.core.ContextManager.service(Compiled Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compiled
Code)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Compiled Code)
--
Teaching & Learning Development Tel (07) 47 81 5525
ACADEMIC SUPPORT DIVISION Fax: (07) 47 81 4018
James Cook University Email: [EMAIL PROTECTED]
QLD 4811 AUSTRALIA
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]