Hehe. Your situation is far from desperate. :-) The error that you are seeing happened when Tomcat attempted to translate your JSP file into a Java servlet source code file that it could then compile and run as a servlet. Don't despair though; failures can teach you much more than successes. I can see what the immediately problem is from your error message, but I want to have a better background about how to help you go about fixing it.
If the JSP file is not too large and the JSP does not contain sensitive material, perhaps you post it here so that other list readers and myself can have a look to see what the problem might be. Do not post the file as an attachment as it may cause problems for some email programs; copy some or all of the content of the calendar.jsp file and paste it into your message instead. Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com ----- Original Message ----- From: "Steve Burrus" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, February 09, 2003 15:28 Subject: Re: Need help w. another jsp! > > Sean Dockery, while I VERY MUCH APPRECIATE yer helpful advice which you have offered to me (in fact, u are the only person so far to offer any advice for this current problem of mine!) it still isn't going right at all!! Here is a screen dump from the tomcat server error page. Note that it is quick to indicate a jsp compilation error! : > > HTTP Status 500 - > > > > type Exception report > > message > > description The server encountered an internal error () that prevented it from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error occurred at line: 64 in the jsp file: /calendar.jsp > > Generated servlet error: > [javac] Compiling 1 source file > > C:\jakarta-tomcat-4.1.18\work\Standalone\localhost\_\calendar_jsp.java:92: cannot resolve symbol > symbol : variable current > location: class org.apache.jsp.calendar_jsp > current-Cal.getActualMaximum(currentCal.DAY_OF_MONTH); > ^ > > > > An error occurred at line: 64 in the jsp file: /calendar.jsp > > Generated servlet error: > C:\jakarta-tomcat-4.1.18\work\Standalone\localhost\_\calendar_jsp.java:92: cannot resolve symbol > symbol : variable Cal > location: class org.apache.jsp.calendar_jsp > current-Cal.getActualMaximum(currentCal.DAY_OF_MONTH); > ^ > 2 errors > > > at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:130) > at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 93) > at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340) > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) > at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4 74) > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 84) > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) > at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) > at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) > at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) > at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) > at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) > at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) > at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432) > at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) > at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) > at java.lang.Thread.run(Thread.java:536) > > > > Apache Tomcat/4.1.18 > > What do I do now to remedy this seemingly "impossible" situation? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
