u have to add the Context in Server.xml file..... r u in Digital bangalore Regards Laxmikanth M S Off* : 91-80-6610330 extn 1256 Res* : 91-80-5267150 http://www.sonata-software.com
> Coming together is the beginning, staying together is progress and working > together is Success What lies behind us and what lies before us are tiny matters compared to what lies within us - Emerson > -----Original Message----- > From: Varghese, Sony [SMTP:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 2:07 PM > To: [EMAIL PROTECTED] > Subject: JSP compile Error. Tomcat 4.0.4 > > Hi, > > My web application works with Tomcat3.3 but not with 4.0.2. I have > jdkv1.2.2 > installed. > Please could you tell me how to resolve this problem?? The error is as > shown > below. > > Do reply. > > Thanks > Sony . > > > > ---------------------------------------------- > Apache Tomcat/4.0.4-b2 - HTTP Status 500 - Internal Server Error > > type Exception report > message Internal Server Error > description The server encountered an internal error (Internal Server > Error) > that prevented it from fulfilling this request. > exception > org.apache.jasper.JasperException: Unable to compile class for JSP > /usr/internet/httpd/tomcat/work/Standalone/localhost/cockpit/main_0005fmen > u$ > jsp.java:6: Class or interface declaration expected. > import javax.servlet.*; > ^ > > /usr/internet/httpd/tomcat/work/Standalone/localhost/cockpit/main_0005fmen > u$ > jsp.java:12: Superclass org.apache.jsp.HttpJspBase of class > org.apache.jsp.main_0005fmenu$jsp not found. > public class main_0005fmenu$jsp extends HttpJspBase { > ^ > 2 errors > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java, > Compiled Code) > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java, > Compiled Code) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp > Se > rvlet.java, Compiled Code) > at > org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet. > ja > va, Compiled Code) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java, > Compiled Code) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, > Compiled Code) > at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled > Code) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati > on > FilterChain.java, Compiled Code) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter > Ch > ain.java, Compiled Code) > -------------------------------------------------- > > > > ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>