You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vasudha Deepak <va...@wcom.com> on 2000/06/26 18:29:51 UTC

Default JSP examples error

Hi,
     I am unable to execute the default JSP examples provided with Tomcat.However the servlet examples are running fine.
In the variable TOMCAT_HOME , I have set the installation directory of tomcat , and Java_home includes the JDK1.2.2 installation directory.
I have also included tools.jar of JDK in the classpath, still the examples do not work.
Any suggestions.

Thanks,
Vasudha


Re: Default JSP examples error

Posted by Vasudha Deepak <va...@wcom.com>.
Hi,

I am getting this error , HTTP 500 - Internal server error 

And the detail in jasper.log is as follows   :
C:\Tomcat\jakarta-tomcat\webapps\examples\WEB-INF\classes</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000 JspEngine --> /jsp/num/numguess.jsp</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000       ServletPath: /jsp/num/numguess.jsp</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000          PathInfo: null</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000          RealPath: C:\Tomcat\jakarta-tomcat\webapps\examples\jsp\num\numguess.jsp</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000        RequestURI: /examples/jsp/num/numguess.jsp</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000       QueryString: null</JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000    Request Params: </JASPER_LOG> 
<JASPER_LOG> Mon Jun 26 10:23:34 MDT 2000 Classpath according to the Servlet Engine is: C:\Tomcat\jakarta-tomcat\webapps\examples\WEB-INF\classes</JASPER_LOG> 
  ----- Original Message ----- 
  From: A. Scott White 
  To: tomcat-user@jakarta.apache.org ; Vasudha Deepak 
  Sent: Monday, June 26, 2000 10:39 AM
  Subject: RE: Default JSP examples error


  What response are you getting?


------------------------------------------------------------------------------
  A. Scott White
  Director, Information Systems and Product Strategy
  Healthcare Solutions Group
  Affiliated Computer Services, Inc.
  scottw@coderite.com

    -----Original Message-----
    From: Vasudha Deepak [mailto:vasudha.deepak@wcom.com]
    Sent: Monday, June 26, 2000 11:30
    To: tomcat-user@jakarta.apache.org
    Subject: Default JSP examples error


    Hi,
         I am unable to execute the default JSP examples provided with Tomcat.However the servlet examples are running fine.
    In the variable TOMCAT_HOME , I have set the installation directory of tomcat , and Java_home includes the JDK1.2.2 installation directory.
    I have also included tools.jar of JDK in the classpath, still the examples do not work.
    Any suggestions.

    Thanks,
    Vasudha


Re: Default JSP examples error

Posted by Vasudha Deepak <va...@wcom.com>.
Hi,

This is the detailed response , I am getting  on running the example

  java.lang.NoSuchMethodError
          at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:195)
          at jsp.num._0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0._jspService(_
  002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java:150)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
          at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.jav
  :174)
          at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
          at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
          at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
          at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
          at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpCo
  nectionHandler.java:160)essage ----- 



  From: A. Scott White 
  To: tomcat-user@jakarta.apache.org ; Vasudha Deepak 
  Sent: Monday, June 26, 2000 10:39 AM
  Subject: RE: Default JSP examples error


  What response are you getting?


------------------------------------------------------------------------------
  A. Scott White
  Director, Information Systems and Product Strategy
  Healthcare Solutions Group
  Affiliated Computer Services, Inc.
  scottw@coderite.com

    -----Original Message-----
    From: Vasudha Deepak [mailto:vasudha.deepak@wcom.com]
    Sent: Monday, June 26, 2000 11:30
    To: tomcat-user@jakarta.apache.org
    Subject: Default JSP examples error


    Hi,
         I am unable to execute the default JSP examples provided with Tomcat.However the servlet examples are running fine.
    In the variable TOMCAT_HOME , I have set the installation directory of tomcat , and Java_home includes the JDK1.2.2 installation directory.
    I have also included tools.jar of JDK in the classpath, still the examples do not work.
    Any suggestions.

    Thanks,
    Vasudha


RE: Default JSP examples error

Posted by "A. Scott White" <sc...@coderite.com>.
What response are you getting?


----------------------------------------------------------------------------
----
A. Scott White
Director, Information Systems and Product Strategy
Healthcare Solutions Group
Affiliated Computer Services, Inc.
scottw@coderite.com

  -----Original Message-----
  From: Vasudha Deepak [mailto:vasudha.deepak@wcom.com]
  Sent: Monday, June 26, 2000 11:30
  To: tomcat-user@jakarta.apache.org
  Subject: Default JSP examples error


  Hi,
       I am unable to execute the default JSP examples provided with
Tomcat.However the servlet examples are running fine.
  In the variable TOMCAT_HOME , I have set the installation directory of
tomcat , and Java_home includes the JDK1.2.2 installation directory.
  I have also included tools.jar of JDK in the classpath, still the examples
do not work.
  Any suggestions.

  Thanks,
  Vasudha