Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Appointments Class Reference

List of all members.

Public Member Functions

void doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException

Detailed Description

Definition at line 8 of file Appointments.java.


Member Function Documentation

void Appointments::doGet HttpServletRequest  req,
HttpServletResponse  res
throws ServletException, IOException [inline]
 

Definition at line 16 of file Appointments.java.

References Page::bottom(), Form::disconnectDb(), AppointmentList::display(), AppointmentList::loadValues(), and Page::top().

00018   {
00019     res.setContentType("text/html");
00020     PrintWriter pw = res.getWriter();
00021 
00022     Form f = new Form(req, res, pw, DoctorDb.getSingleton());
00023     try
00024     {
00025       AppointmentList al = new AppointmentList("al", f);
00026       al.loadValues();
00027       Page p = new Page(req,res,pw);
00028       p.top("Appointments");
00029       pw.println("<form method=post>");
00030       al.display();
00031       pw.println("</form>");
00032       p.bottom();
00033     }
00034     catch (Throwable t)
00035     {
00036       Widget.ShowException(t, pw);
00037     }
00038     finally
00039     {
00040       f.disconnectDb();
00041     }
00042   }

void Appointments::doPost HttpServletRequest  req,
HttpServletResponse  res
throws ServletException, IOException [inline]
 

Definition at line 10 of file Appointments.java.

References doGet().

00012   {
00013     doGet(req, res);
00014   }


The documentation for this class was generated from the following file:
Generated on Mon Mar 6 23:34:35 2006 by  doxygen 1.4.4