O I have got mine from the offical Tomcat site, and other version from here
http://www.coreservlets.com/Apache-Tomcat-Tutorial/
Aa for copying things to my web-inf, well no
The only thing I have done is putting the JSP in the ROOT dir in the web-app
and trying to get into it
Also
I have download this OFFICIAL example
http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/
And nothing (and I am sure this VERY simple example should work with out any
problems)
What shell I do now please?



Pid-2 wrote:
> 
> Right.
> 
> Where did you get Tomcat 6 from, and what OS are you running?
> 
> Have you moved or copied any of the libraries from Tomcat/lib to your
> WEB-INF/lib?
> 
> p
> 
> 
> niblz wrote:
>> Here is the JSP - just a very simple one
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <!-- 
>> Simple JSP file to test server setup and configuration. 
>>    
>> Taken from Core Servlets and JavaServer Pages 2nd Edition
>> from Prentice Hall and Sun Microsystems Press,
>> http://www.coreservlets.com/.
>> (C) 2003 Marty Hall; may be freely used or adapted.
>> -->
>> <HTML>
>> <HEAD><TITLE>JSP Test</TITLE></HEAD>
>> <BODY BGCOLOR="#FDF5E6">
>> <H1>JSP Test</H1>
>> Time: <%= new java.util.Date() %>
>> </BODY></HTML>
>> 
>> and this is the log file:
>> 03/10/2007 12:24:47 org.apache.catalina.core.StandardWrapperValve invoke
>> SEVERE: Servlet.service() for servlet jsp threw exception
>> org.apache.jasper.JasperException: Unable to compile class for JSP: 
>> 
>> 
>> 
>> Stacktrace:
>>      at
>> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
>>      at
>> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
>>      at
>> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
>>      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
>>      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>>      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
>>      at
>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
>>      at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
>>      at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
>>      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>      at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>      at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
>>      at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>      at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>      at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
>>      at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>      at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
>>      at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>      at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
>>      at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
>>      at java.lang.Thread.run(Thread.java:619)
>> 
>> 
>> What can I do please ?
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Fresh-install-of-Tomcat---getting-frustrated-with-the-JSP-no-working-tf4560454.html#a13019654
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to