Where is the java bean class file residing. It must be in WEB-INF\classes or
WEB-INF\lib(as jar file).
Antony Paul

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 24, 2003 2:31 PM
Subject: jsp compilation error


> 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/apac
he/jsp/Jsp/welcome_jsp.java:6: '.' expected
> import QuestionBean;
>                    ^
> 1 error
>
>
>
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:127)
>
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3
51)
>
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:5
52)
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
91)
>
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]
>
>

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

Reply via email to