Title: RE: Accessing a remote database from a servlet

Hi,

use jdbc:odbc:system_datasource_name

Regards

-----Original Message-----
From: Asmaa Mourhir [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 02, 2000 11:52 AM
To: [EMAIL PROTECTED]
Subject: Accessing a remote database from a servlet


Hello,

I don't know if there is room for this question in this mailing list; but
your help will be greatly appreciated

I want to connect to a remote database from my servlet; in the jdbc
specification it is stated that we can achieve this by adding the path in
front of the name of the database in the URL string:

              jdbc:odbc://hostname:portnumber/databasename

I've tried this but i keep getting exceptions (cannot connect to
specified database).

Regards

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to