So is there anybody that can help me?
Please guys...I don't know what to do.
On 7/27/05, Panagiotis Karvounis <[EMAIL PROTECTED]> wrote:
> It didn't work again!
>
> I have almost the same problem with all my JSP pages(Servlets work ok).
> I think is a Tomcat problem;The method handlePageException(Exception)
> in the type PageContext is not applicable for the arguments
> (Throwable)
>
> I went to servlet code produced and I changed "catch(Throwable t)"
> with "catch(Exception t)" and the java file was compiled succesfully
> with javac.
>
> Thanks for help
> Panagiotis
>
>
> On 7/27/05, Raghupathy,Gurumoorthy
> <[EMAIL PROTECTED]> wrote:
> > <%= request.getParameter("testParam") %> may trow a null pointer so try
> >
> > <%= request.getParameter("testParam") == null ? "" :
> > request.getParameter("testParam") %>
> >
> >
> > Regards
> > Guru
> >
> > -----Original Message-----
> > From: Panagiotis Karvounis [mailto:[EMAIL PROTECTED]
> > Sent: 27 July 2005 13:23
> > To: [email protected]
> > Subject: Problem with Jasper-Need your help
> >
> >
> > Hi.I am new with Tomcat and JSP and I need your help.
> >
> > I am trying the following simple jsp:
> >
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML>
> > <HEAD>
> > <TITLE>JSP Expressions</TITLE>
> > </HEAD>
> > <BODY>
> > <H2>JSP Expressions</H2>
> > <UL>
> > <LI>Current time: <%= new java.util.Date() %>
> > <LI>Your hostname: <%= request.getRemoteHost() %>
> > <LI>Your session ID: <%= session.getId() %>
> > <LI>The <CODE>testParam</CODE> form parameter:
> > <%= request.getParameter("testParam") %>
> > </UL>
> > </BODY>
> > </HTML>
> >
> >
> >
> > And I get this error:
> >
> > 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
> >
> > Generated servlet error:
> > The method handlePageException(Exception) in the type PageContext is
> > not applicable for the arguments (Throwable)
> >
> >
> > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
> > r.java:84)
> > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3
> > 28)
> > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:382)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:280)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:259)
> > org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
> > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
> > 44)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
> > 96)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:302)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:246)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java)
> >
> >
> > note The full stack trace of the root cause is available in the Apache
> > Tomcat/5.5.1 logs.
> >
> > Can you help me?
> >
> > Thanks
> > Panagiotis
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]