On Tuesday 16 July 2002 17:50, you wrote: > Hi... > > I have tomcat with apache 1.3.26 and mod_jk, i run fine jsp examples, > but when i try run jsp with jdbc connection to oracle database tomcat send > a error... > > > An error occurred at line: 48 in the jsp file: /jsps/tdfdf94_ags.jsp > > Generated servlet error: > /usr/local/tomcat/work/Standalone/localhost/examples/jsps/tdfdf94_0005fags$ >jsp.java:175: cannot resolve symbol > symbol : class DBABean > location: package IEEMBeans > DBABeanAux = > (IEEMBeans.DBABean) > java.beans.Beans.instantiate(this.getClass().getClassLoader(), > "IEEMBeans.DBABean"); > ^ > 15 errors >
I got an identical error when I tried to use variable which were not visible within certain range. My english is nop the best so I will try to show on an example try { java.sql Connection conn; ..... ..... ..... } catch (Exception e){ } finally { if (conn!=null) try {conn.close();} catch (Exception ex) {}; } and this error disappeares in case java.sql Connection conn = null; try { ..... } catch (Exception e){ } finally { if (conn!=null) try {conn.close();} catch (Exception ex) {}; } -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>