Class BillQuery
java.lang.Object
|
+----BillQuery
- public class BillQuery
- extends Object
if formno 21-27
mainquery will call this fns Forward with
HttpServletRequest,HttpServletResponse,Connection
-
conn
-
-
stmt
-
-
BillQuery()
-
-
common(ResultSet, PrintWriter, String, String)
- this method prints the output to the client
-
pend_bill(HttpServletRequest, HttpServletResponse, Connection)
- The output of this method consists of all the
pending bills
-
query_accno(HttpServletRequest, HttpServletResponse, Connection)
- this method takes accno The output consists of all the
bill details against the particular acc_no.
-
query_bill(HttpServletRequest, HttpServletResponse, Connection)
- this method takes billno The output consists of all the
bill details against the particular bill_no.
-
query_date(HttpServletRequest, HttpServletResponse, Connection)
- this method takes date The output consists of all the
bill details against the particular date.
-
query_month(HttpServletRequest, HttpServletResponse, Connection)
- this method takes month The output consists of all the
bill details against the particular month of the year.
-
query_name(HttpServletRequest, HttpServletResponse, Connection)
- this method takes name The output consists of all the
bill details against the particular name
-
query_year(HttpServletRequest, HttpServletResponse, Connection)
- this method takes year The output consists of all the
bill details against the particular year.
conn
public Connection conn
stmt
public Statement stmt
BillQuery
public BillQuery()
query_accno
public void query_accno(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- this method takes accno The output consists of all the
bill details against the particular acc_no.
query_name
public void query_name(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- this method takes name The output consists of all the
bill details against the particular name
query_bill
public void query_bill(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- this method takes billno The output consists of all the
bill details against the particular bill_no.
query_date
public void query_date(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- this method takes date The output consists of all the
bill details against the particular date.
query_month
public void query_month(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- this method takes month The output consists of all the
bill details against the particular month of the year.
query_year
public void query_year(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- this method takes year The output consists of all the
bill details against the particular year.
pend_bill
public void pend_bill(HttpServletRequest req,
HttpServletResponse res,
Connection conn) throws ServletException, IOException
- The output of this method consists of all the
pending bills
common
public void common(ResultSet rset,
PrintWriter toClient,
String flag,
String mesg) throws SQLException
- this method prints the output to the client