Hi all,
I'm using Tomcat 3.2. I've compile the bean and put it in WEB-INF\classes
folder. But when i'm running the JSP from where i'm calling the bean, I'm
getting the following error:
What could the problem be? Please help.
Thanx in advance,
Jyotinarayan.


Error: 500
Location: /testjsp/file/zip/Jsp1.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for
JSPD:\tomcat\work\localhost_8080\_0002ftestjsp_0002ffile_0002fzip_0002fJsp_0
0031_0002ejspJsp1_jsp_0.java:60: Class testjsp.file.zip.fileUploadBean not
found.
                fileUploadBean theBean = null;
                ^
D:\tomcat\work\localhost_8080\_0002ftestjsp_0002ffile_0002fzip_0002fJsp_0003
1_0002ejspJsp1_jsp_0.java:63: Class testjsp.file.zip.fileUploadBean not
found.
                    theBean= (fileUploadBean)
                              ^
D:\tomcat\work\localhost_8080\_0002ftestjsp_0002ffile_0002fzip_0002fJsp_0003
1_0002ejspJsp1_jsp_0.java:68: Class testjsp.file.zip.fileUploadBean not
found.
                            theBean = (fileUploadBean)
Beans.instantiate(this.getClass().getClassLoader(), "fileUploadBean");
                                       ^
3 errors

        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
        at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
        at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
        at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:258)
        at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:268)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
        at org.apache.tomcat.core.Handler.service(Handler.java:287)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
        at java.lang.Thread.run(Thread.java:484)

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to