Hi, I know some have asked similar questions before and I have tried the suggestions that were given in the replies but none have worked.
I'm getting:
--------
Error: 500
Location: /examples/jsp/showall.jsp
Internal
Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fshowall_0002ejspshowall_jsp_0.java:64: Class jsp.ConnectDB not found.
ConnectDB connectDB = null;
^
C:\Tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fshowall_0002ejspshowall_jsp_0.java:67: Class jsp.ConnectDB not found.
connectDB= (ConnectDB)
^
C:\Tomcat\work\localhost_8080%2Fexamples\_0002fjsp_0002fshowall_0002ejspshowall_jsp_0.java:72: Class jsp.ConnectDB not found.
connectDB = (ConnectDB) Beans.instantiate(getClassLoader(), "ConnectDB");
^
3 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)
--------------
my
jsp file is in the c:\Tomcat\webapps\examples\jsp folder
and the class file (ConnectDB) is in the c:\Tomcat\webapps\examples\web-inf\classes folder
--------------
Any suggestions would be greatly appreciated.
Thanks,
Ant