Redian新闻
>
Re: Desperately need help on DB2 connection through jdbc in jsp page
avatar
Re: Desperately need help on DB2 connection through jdbc in jsp page# Java - 爪哇娇娃
f*o
1
no need for classpath. put your jsp under webapps/ROOT
put db2 driver jar under webapps/ROOT/WEB-INF/lib
avatar
m*t
2

[snip]
[snip]
not familiar with db2's jdbc driver, but are you sure
it's "COM.ibm..." not "com.ibm..."?
avatar
s*g
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 的大作中提到】
: 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.

avatar
f*o
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 的大作中提到】
:
: Gee, so all the java classes IBM produces start with big "COM"?
: that's so typical IBM mentality. 8-)

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。