aspose file tools*
The moose likes JDBC and the fly likes one problem solved another one came up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "one problem solved another one came up" Watch "one problem solved another one came up" New topic
Author

one problem solved another one came up

Suleman zia
Ranch Hand

Joined: Apr 19, 2007
Posts: 70
Hello ranchers,

I had problem in running servlets before but everything is working fine. thanks to you guys. now i am trying to access JDBC using web application like servlets and jsp. The book is not detailed. and i have no clue what to do.

they have said that the ODBC-JDBC bridge driver comes with jdk1.2 or forward. and ask me to set up an ODBC data source. so i went in control panel/systems tab and then try to add SQL and then when click finish it asks me how to connect to sql server, i entered my usename and password but says connection failed.

I have not download anything. what is derby.jar? i'll appreciate some links on JDBC connection using servlets or jsp. i google but still less description.


SCJP 1.5
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Suleman,

you don't give any details yourself:
-what book do you use
-what database do you use (SQL server, or Derby, or ...)
-is your database up and running if you try to connect to it?

Herman
Suleman zia
Ranch Hand

Joined: Apr 19, 2007
Posts: 70
thanks herman,

Well let me just ask how to run a jdbc program? what do i need to install? i have derby and mysql4.1.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: one problem solved another one came up