Re: Desperately need help on DB2 connection through jdbc in jsp page# Java - 爪哇娇娃f*o2003-02-13 08:021 楼no need for classpath. put your jsp under webapps/ROOTput db2 driver jar under webapps/ROOT/WEB-INF/lib
m*t2003-02-13 08:022 楼[snip][snip]not familiar with db2's jdbc driver, but are you sureit's "COM.ibm..." not "com.ibm..."?
g*g2003-02-13 08:023 楼COM.ibm is the right syntax, but he is not even giving out the exception.Checkhttp://www-3.ibm.com/software/data/db2/udb/ad/v7/adg/db2a0/frame3.htm#javafor the details of how to use db2 driver.【在 m******t 的大作中提到】: : [snip]: [snip]: not familiar with db2's jdbc driver, but are you sure: it's "COM.ibm..." not "com.ibm..."?
s*g2003-02-13 08:024 楼i think what he needs to do is first successfully connect toDB from java itself, then JSP.Make sure the URL and driver are right or not.【在 g*****g 的大作中提到】: COM.ibm is the right syntax, but he is not even giving out the exception.: Check: http://www-3.ibm.com/software/data/db2/udb/ad/v7/adg/db2a0/frame3.htm#java: for the details of how to use db2 driver.
m*t2003-02-13 08:025 楼Gee, so all the java classes IBM produces start with big "COM"?that's so typical IBM mentality. 8-)【在 g*****g 的大作中提到】: COM.ibm is the right syntax, but he is not even giving out the exception.: Check: http://www-3.ibm.com/software/data/db2/udb/ad/v7/adg/db2a0/frame3.htm#java: for the details of how to use db2 driver.
f*o2003-02-13 08:026 楼no, it's the original naming convention; like the famous concurrentpackage, is EDU.oswegen... today, it's one click to refactor those, but..【在 m******t 的大作中提到】: : Gee, so all the java classes IBM produces start with big "COM"?: that's so typical IBM mentality. 8-)