Hi all,

         i Set up every thing for tomcat and postgresql and now i created a jsp file 
and accessing a bean in that by using useBean tag ,by opening the jsp file i am 
getting the following error
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Compiling 1 source file

/usr/local/jakarta-tomcat-5.0.16/work/Catalina/localhost/OnlineExam/org/apache/jsp/Jsp/welcome_jsp.java:6:
 '.' expected
import QuestionBean;
                   ^
1 error


        
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
        org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
        org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


pls
Help to solve this problem 


Regards
Dhayalan.G

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to