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 EA4CF52C1F for ; Mon, 25 Jul 2005 03:41:33 -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 94219-04 for ; Mon, 25 Jul 2005 06:41:29 +0000 (GMT) Received: from gatekeeper.yes2etl.com (unknown [202.88.179.103]) by svr1.postgresql.org (Postfix) with ESMTP id 723E952C1A for ; Mon, 25 Jul 2005 03:41:25 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6RF7Bwi012701 for ; Wed, 27 Jul 2005 20:37:11 +0530 Received: from gatekeeper.yes2etl.com ([127.0.0.1]) by localhost (gatekeeper [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12520-03 for ; Wed, 27 Jul 2005 20:37:11 +0530 (IST) Received: from mtracks.yes2etl.com (mtracks.yes2etl.com [10.1.2.53]) by gatekeeper.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6RF7AGT012697 for ; Wed, 27 Jul 2005 20:37:10 +0530 Received: from localhost (localhost [127.0.0.1]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6P6eEpY008093 for ; Mon, 25 Jul 2005 12:10:14 +0530 Received: from mtracks.yes2etl.com ([127.0.0.1]) by localhost (mtracks [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04945-02 for ; Mon, 25 Jul 2005 12:10:14 +0530 (IST) Received: from [10.1.2.15] (pc-15.yes2etl.com [10.1.2.15]) by mtracks.yes2etl.com (8.12.10/8.12.10) with ESMTP id j6P6e9Yt008085 for ; Mon, 25 Jul 2005 12:10:09 +0530 Message-ID: <42E488EB.2050505@yes2etl.com> Date: Mon, 25 Jul 2005 12:08:35 +0530 From: Minal User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Accessing functions from JSP code Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.yes2etl.com X-Virus-Scanned: by amavisd-new at @@NET_SUBDOMAIN@@.@@NET_DOMAIN@@ X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/280 X-Sequence-Number: 13428 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