Enterprise Java and UML 2nd Edition PHẦN 5

40 SelectChargeCodeServletjava import import import import import import import import import .*; .*; .*; .*; .*; .*; .*; .*; .*; /** * The RecordTimeServlet uses the TimecardWorkflow and * HtmlProduction packages to create the formatted HTML * to build a charge code selection grid. */ public class SelectChargeCodeServlet extends BasicTimecardServlet { private RecordTimeWorkflowHome rtwhome = null; /** Overrides method from HttpServlet. doGet is called by the servlet engine. */ public void doGet(HttpServletRequest request,. | 40 SelectChargeCodeServletjava import . import . import . import . import . import . import . import . import . The RecordTimeServlet uses the TimecardWorkflow and HtmlProduction packages to create the formatted HTML to build a charge code selection grid. public class SelectChargeCodeServlet extends BasicTimecardServlet private RecordTimeWorkflowHome rtwhome null Overrides method from HttpServlet. doGet is called by the servlet engine. public void doGet HttpServletRequest request HttpServletResponse response throws ServletException IOException doPost request response Overrides method from HttpServlet. doPost is called by the servlet engine. public void doPost HttpServletRequest request HttpServletResponse response throws ServletException IOException try HttpSession session String username String PagePrimitive page new TimecardPageProducer Select a Charge Code ParagraphPrimitive page_title new ParagraphPrimitive Select a charge code from the list below page_title Iterator clients getClients username TablePrimitive table new TablePrimitive table int row_ctr 0 SelectChargeCodeServletjava 41 row_ctr 0 new SpanPrimitive Client row_ctr 1 new SpanPrimitive Project .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
182    221    1    03-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.