Example #1
0
  public ActionForward perform(
      ActionMapping mapping,
      ActionForm form,
      HttpServletRequest request,
      HttpServletResponse response)
      throws IOException, ServletException {

    BillDetailForm billDetailForm = (BillDetailForm) form;
    Bill bill = Bill.loadBill(new DefaultBillEntityLoader(new Integer(billDetailForm.getBillId())));

    bill.audit();
    request.setAttribute("bill", bill);
    return (mapping.findForward("success"));
  }