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


Variable Index

 o conn
 o stmt

Constructor Index

 o BillQuery()

Method Index

 o common(ResultSet, PrintWriter, String, String)
this method prints the output to the client
 o pend_bill(HttpServletRequest, HttpServletResponse, Connection)
The output of this method consists of all the pending bills
 o query_accno(HttpServletRequest, HttpServletResponse, Connection)
this method takes accno The output consists of all the bill details against the particular acc_no.
 o query_bill(HttpServletRequest, HttpServletResponse, Connection)
this method takes billno The output consists of all the bill details against the particular bill_no.
 o query_date(HttpServletRequest, HttpServletResponse, Connection)
this method takes date The output consists of all the bill details against the particular date.
 o query_month(HttpServletRequest, HttpServletResponse, Connection)
this method takes month The output consists of all the bill details against the particular month of the year.
 o query_name(HttpServletRequest, HttpServletResponse, Connection)
this method takes name The output consists of all the bill details against the particular name
 o query_year(HttpServletRequest, HttpServletResponse, Connection)
this method takes year The output consists of all the bill details against the particular year.

Variables

 o conn
 public Connection conn
 o stmt
 public Statement stmt

Constructors

 o BillQuery
 public BillQuery()

Methods

 o 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.

 o 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

 o 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.

 o 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.

 o 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.

 o 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.

 o 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

 o common
 public void common(ResultSet rset,
                    PrintWriter toClient,
                    String flag,
                    String mesg) throws SQLException
this method prints the output to the client