tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: page directive
Date Thu, 17 Jul 2003 19:35:49 GMT
Should  "<%@ Page" be  "<%@ page"  ???

-Tim

Ravi Pachipala wrote:
> If I use <%@ Page language="java" %> in jsp page, tomcat is throwing the
> following exception. Is it a known bug? It works fine in weblogic.
> 
> Thanks
> Ravi
>  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: /projects/5845/SnoopJSP.jsp(0,4) Invalid
> directive
> 	at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
> java:94)
> 	at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428
> )
> 	at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126
> )
> 	at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:383)
> 	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
> 	at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
> 	at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
> 	at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
> 	at
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
> 	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
> 	at
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
> 73)
> 	at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
> 90)
> 	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:256)
> 	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:171)
> 	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:594)
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:392)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:619)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Apache Tomcat/4.1.24
> 
> 
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message