Skip site navigation (1) Skip section navigation (2)

Re: Connecting to PostgreSQL via web

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: MAgrawal(at)coba(dot)usf(dot)edu ("Agrawal, Manish"),jason(at)tishler(dot)net ('Jason Tishler')
Cc: pgsql-cygwin(at)postgresql(dot)org (Pgsql-Cygwin)
Subject: Re: Connecting to PostgreSQL via web
Date: 2003-02-12 07:52:01
Message-ID: 1189E7F4.284AD805.00013D13@netscape.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
Manish,

[..]
>I am trying to connect to the pgsql database from a jsp application. The
>database, webserver and the application are all running locally. 
>
>The problem is that I am able to read data from the database successfully
>but am not able to write to it. I also don't get any SQLException message. I
>simply get a blank page. The connection is opened using:
>
>Connection con = DriverManager.getConnection("jdbc:odbc:PostgreSQL_test",
>"Administrator", "<pwd>");      // PostgreSQL_test is the user DSN
[...]

This could be a limitation because your jdbc-odbc access to database. Why don't you try to use just jdbc?

SLao

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

pgsql-cygwin by date

Next:From: jklcomDate: 2003-02-12 08:07:34
Subject: undefined reference to `_libiconv_open'
Previous:From: S. L.Date: 2003-02-12 07:39:16
Subject: Re: Latest cygwin always crashing with Postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group