Program accessing database via servlet - Mailing list pgsql-interfaces

From zhang-lan@usa.net
Subject Program accessing database via servlet
Date
Msg-id 19991001155604.2470.qmail@nw175.netaddress.usa.net
Whole thread Raw
Responses Re: [INTERFACES] Program accessing database via servlet
Re: [INTERFACES] Program accessing database via servlet
Re: [INTERFACES] Program accessing database via servlet
List pgsql-interfaces
Hi, all.

I am having a problem when accessing the postgresql database via servlet. I
set up a java web server (Win 95), and my servlet program need to access the
remote postgresql database which is not on my server. When the program
executed   DriverManager.getConnection(dburl, user, passwd),
it shows the error: java.lang.IllegalArgumentException: Argument # > Arg
length

But the similar program which I don't use servlet runs ok, it can access the
remote database very well. I don't know why. And if I change the database to
the MS Access database which is on my machine, the servlet program also runs
fine.

Anyone can help?

Thanks.

Lan Zhang


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


pgsql-interfaces by date:

Previous
From: Jens Glaser
Date:
Subject: Re: [INTERFACES] DatabaseMetaData.getDatabaseProductVersion()
Next
From: Dave Page
Date:
Subject: pgAdmin v6.5.2 Released