I have a db connection pool. If I put java code in JSP, the java code can
use the pool. But when I write a seperate java class in
tomcat/webapps/ROOT/web-inf/class/devTrack, jsp uses this class:
  devTrack.useDB.useDB  dbWorker = new devTrack.useDB.useDB();
  retdata = dbWorker.getRow("select * from myTable where id=2", 3, true);
the getRow should return a row. But it gets null. No any exception in Tomcat
monitor, log, and browser.
the JSP file is in tomcat/webapps/ROOT/zuo. My system windows 2000, Apache
2.0.49, Tomcat 5.0.19

Thanks.


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

Reply via email to