Public Member Functions | |
void | doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException |
void | doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException |
Definition at line 8 of file Tables.java.
|
Definition at line 16 of file Tables.java. References Page::bottom(), Form::disconnectDb(), TableEditor::display(), TableEditor::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 TableEditor te = new TableEditor("pl", f); 00026 te.loadValues(); 00027 Page p = new Page(req,res,pw); 00028 p.top("Table Editor"); 00029 pw.println("<form method=post>"); 00030 te.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 }
|
|
Definition at line 10 of file Tables.java. References doGet(). 00012 { 00013 doGet(req, res); 00014 }
|