Hi
I'm using JDBC driver to connect Ultradev to postgresql database and
everything works fine but when I try to open the index.jsp file with
a web browser I get these:
Error: 500
Location: /phone_book/index.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for
JSP/opt/jakarta/work/localhost_8080%2Fphone_book/_0002findex_0002ejspindex_jsp_0.java:99:
Undefined variable: all_table_isEmpty
if (all_table_isEmpty) {
^
/opt/jakarta/work/localhost_8080%2Fphone_book/_0002findex_0002ejspindex_jsp_0.java:104:
Undefined variable: all_table_numRows
if (all_table_numRows == 0) {
^
/opt/jakarta/work/localhost_8080%2Fphone_book/_0002findex_0002ejspindex_jsp_0.java:105:
Undefined variable: all_table_numRows
all_table_numRows = 1;
^
....
< a lot of errors similar to these >
....
30 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java)
at org.apache.jasper.servlet.JasperLoader.loadJSP(JasperLoader.java)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
at org.apache.tomcat.core.Handler.service(Handler.java)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
at java.lang.Thread.run(Thread.java:484)
I'm not sure where to look at to fix the problem.
Any help is highly appreciate.
Thanks
Peter