Hello there,

I am always receiving a (beginners?) error when putting an JSP
example in my own directory, could somebody help me please ?

Error Output:

    Location: /myproject/ProjectMain.jsp

    Internal Servlet Error:

    org.apache.jasper.JasperException: Unable to compile class for JSPerror:
File .\_classes\javax\servlet\ServletException.class does not contain type
ServletException as expected, but class javax.servlet.ServletException.
Please remove the file, or make sure it appears in the correct subdirectory
of the class path.
D:\VisualAge3.0Java2\ide\project_resources\Apache Tomcat31 Test
Environment\work\localhost_8080%2FOptimus\_0002fOptimusMain_0002ejspOptimusMai
n_jsp_0.java:65: Class ServletException not found in class
org.apache.jasper.runtime.HttpJspBase.
    public void _jspService(HttpServletRequest request, HttpServletResponse
response)
                ^
2 errors

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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