Hi Rajeev, Depending upon the no. of resultsets ur defined procedure is returning , set no. of OUT parameters in Stored procedures and return ref cursors thr. these OUT parameters fields and use in JSP . Sample code is given below: CallableStatement callStmt = dbConnection.prepareCall("{CALL sampleProcedure(?,?,?,?)}");