由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Re: Desperately need help on DB2 connection through jdbc in jsp page
相关主题
[转载] Urgent Help needed about Java Servlet?J2EE: why is my .jsp not refreshed?
大家愿意讨论一下log4j么tomcat连接mysql求助
Desperately need help on DB2 connection through jdbc in jsp page菜鸟请教版上大虾--如何用Java建一个连接Dababase的Tomcat网页
Problem solved by Re: Desperately need help on DB2 connection through jdbc in jsp pageservlet-mapping causing http 404 error
Run Servlet with TomcatRe: JSP菜鸟一问
still web.xml questionAxis1.2RC3问题
求助!Tomcat下设置servlets的问题问个eclipse的问题
tomcat 访问硬盘文件的问题, 3xJSP How to Invoke the Specific version of Xerces-J
相关话题的讨论汇总
话题: db2话题: jsp话题: jdbc话题: connection
进入Java版参与讨论
1 (共1页)
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 的大作中提到】
:
: [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 的大作中提到】
: 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 的大作中提到】
: 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 的大作中提到】
:
: Gee, so all the java classes IBM produces start with big "COM"?
: that's so typical IBM mentality. 8-)

1 (共1页)
进入Java版参与讨论
相关主题
JSP How to Invoke the Specific version of Xerces-JRun Servlet with Tomcat
classpath 和 lib/ext 的区别?still web.xml question
Eclipse可以让一个项目使用refer另一个项目吗求助!Tomcat下设置servlets的问题
Re: How to compile a Java program with import my own package in UNIXtomcat 访问硬盘文件的问题, 3x
[转载] Urgent Help needed about Java Servlet?J2EE: why is my .jsp not refreshed?
大家愿意讨论一下log4j么tomcat连接mysql求助
Desperately need help on DB2 connection through jdbc in jsp page菜鸟请教版上大虾--如何用Java建一个连接Dababase的Tomcat网页
Problem solved by Re: Desperately need help on DB2 connection through jdbc in jsp pageservlet-mapping causing http 404 error
相关话题的讨论汇总
话题: db2话题: jsp话题: jdbc话题: connection