aspose file tools*
The moose likes JSP and the fly likes Error in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error in JSP" Watch "Error in JSP" New topic
Author

Error in JSP

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
Hi,
I,m creating a login jsp page wherein theuser enters the user name and password.this page extends an abstract class the provides labels through resource bundle in the form. When I try executing the jsp i get below error.When the below highlighted error arises and what does it mean?Where am I doing wrong?Do let me know.

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\Tomcat 5.0\work\Catalina\localhost\Practise1\org\apache\jsp\loginEntry_jsp.java:33: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.loginEntry_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)
pageContext = _jspxFactory.getPageContext(this, request, response,
^
1 error



org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Thanks,
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Please post the code so that we can assist you better

this page extends an abstract class


What do you mean by this ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in JSP