pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAccessing functions from JSP code
2+ messages / 2 participants
[nested] [flat]
* Accessing functions from JSP code
@ 2005-07-25 06:38 Minal <minalac@yes2etl.com>
2005-07-25 12:00 ` Re: Accessing functions from JSP code Dave Cramer <davec@fastcrypt.com>
0 siblings, 1 reply; 2+ messages in thread
From: Minal @ 2005-07-25 06:38 UTC (permalink / raw)
To: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Accessing functions from JSP code
2005-07-25 06:38 Accessing functions from JSP code Minal <minalac@yes2etl.com>
@ 2005-07-25 12:00 ` Dave Cramer <davec@fastcrypt.com>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Cramer @ 2005-07-25 12:00 UTC (permalink / raw)
To: Minal <minalac@yes2etl.com>; +Cc: 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
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-07-25 12:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-25 06:38 Accessing functions from JSP code Minal <minalac@yes2etl.com>
2005-07-25 12:00 ` Dave Cramer <davec@fastcrypt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox