Re: Accessing functions from JSP code

From: Dave Cramer <davec(at)fastcrypt(dot)com>
To: Minal <minalac(at)yes2etl(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Accessing functions from JSP code
Date: 2005-07-25 12:00:00
Message-ID: E0429DDA-B363-4360-927A-4C3B3B5904DF@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Minal,

You will have to give us more than the following three lines of code
if you expect anyone to be able to point you in
the right direction.

What is the error message, how do you get the connection, how do you
load the driver ....etc.

DAve
On 25-Jul-05, at 2:38 AM, Minal wrote:

> Hi..
> I am trying to access functions from the jsp code, using the
> following code. I get error and just cant access the function.
> Dont know what to do??
> Please help...
>
> sql="execute sp_login 'INSERT','admin','"+username+"','"+password
> +"'";
> pStat=conn.prepareStatement(sql);
> msg=pStat.executeUpdate();
>
> Minal
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Grittner 2005-07-25 15:47:55 Re: Timestamp weirdness
Previous Message Les Carter 2005-07-25 07:40:06 getMoreResults() issue