f***o 发帖数: 31 | 1 no need for classpath. put your jsp under webapps/ROOT
put db2 driver jar under webapps/ROOT/WEB-INF/lib |
m******t 发帖数: 2416 | 2
[snip]
[snip]
not familiar with db2's jdbc driver, but are you sure
it's "COM.ibm..." not "com.ibm..."? |
g*****g 发帖数: 34805 | 3 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******t 的大作中提到】![](/moin_static193/solenoid/img/up.png) : : [snip] : [snip] : not familiar with db2's jdbc driver, but are you sure : it's "COM.ibm..." not "com.ibm..."?
|
s*******g 发帖数: 59 | 4 i think what he needs to do is first successfully connect to
DB from java itself, then JSP.
Make sure the URL and driver are right or not.
【在 g*****g 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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******t 发帖数: 2416 | 5
Gee, so all the java classes IBM produces start with big "COM"?
that's so typical IBM mentality. 8-)
【在 g*****g 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 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***o 发帖数: 31 | 6 no, it's the original naming convention; like the famous concurrent
package, is EDU.oswegen... today, it's one click to refactor those, but..
【在 m******t 的大作中提到】![](/moin_static193/solenoid/img/up.png) : : Gee, so all the java classes IBM produces start with big "COM"? : that's so typical IBM mentality. 8-)
|