• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
While accessing a JSP page in my application , the following error came.
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
pageContext.handlePageException((Throwable)__ee);
^
1 error.

I have been using Web logic 8.1 as server and in my project i have included Servlet Version 1.2.2.

I have created WAR for my application and deployed it in weblogic server, While accessing the JSP page i got this error.
The Converted Servlet version of the corresponding JSP
try
{
...
}
catch (Throwable __ee) {
while (out != null && out != _originalOut) out = pageContext.popBody();
pageContext.handlePageException((Throwable)__ee);
}

But the servlet.jar i am using contain handlePageException (Exception) only. Thats why i suppose this error is coming as weblogic 8.1 server using a higher version of Servlet.jar

Can anyone tell me what should i do to resolve this Issue
reply
    Bookmark Topic Watch Topic
  • New Topic