X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 89EE752B91 for ; Mon, 25 Jul 2005 09:00:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54606-01 for ; Mon, 25 Jul 2005 11:59:58 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 2001A52B81 for ; Mon, 25 Jul 2005 08:59:57 -0300 (ADT) Received: (qmail 32469 invoked from network); 25 Jul 2005 12:00:01 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 25 Jul 2005 12:00:01 -0000 In-Reply-To: <42E488EB.2050505@yes2etl.com> References: <42E488EB.2050505@yes2etl.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Accessing functions from JSP code Date: Mon, 25 Jul 2005 08:00:00 -0400 To: Minal X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.037 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/281 X-Sequence-Number: 13429 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 > >