  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-10-03 - By David Smith
Back Can we see the jsp you are trying to access? Also check the logs for the very first exception in the request. That will be the most helpful.
You can find the logs in tomcat's logs directory.
--David
niblz wrote: > Hello I have install a new fresh Tomcat 6, and I have JAVA 6 (all the newest > versions from their sites) > I have tried many things, but still while html and servlet work, JSP just > won't work! > I even tried using this Tomcat version and help - > http://www.coreservlets.com/Apache-Tomcat-Tutorial/ > http://www.coreservlets.com/Apache-Tomcat-Tutorial/ > But still nothing > This are the errors I get > 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: 22 in the generated java fileThe method > getJspApplicationContext(ServletContext) is undefined for the type > JspFactory An error occurred at line: 82 in the generated java fileThe > method handlePageException(Exception) in the type PageContext is not > applicable for the arguments (Throwable) Stacktrace: > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler .java:92) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :330) > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :566) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :317) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:865) note The full > stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs > > and this one > 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: > Stacktrace: > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler .java:85) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java :330) > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java :566) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :308) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:865) note The full > stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs. > > > What can I do please? > > Thank you! > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |