final Integer receiptID = (Integer) request.getAttribute("receiptID");
final Integer receiptID = Integer.valueOf(getFromRequest(request,"receiptID").toString());
    public ActionForward prepareShowReceipt(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) {        final Integer receiptID = (Integer) request.getAttribute("receiptID");        final Receipt receipt = rootDomainObject.readReceiptByOID(receiptID);        if (receipt == null) {            addActionMessage(request,                    "error.masterDegreeAdministrativeOffice.payments.receipt.not.found");        }        request.setAttribute("receipt", receipt);        return mapping.findForward("showReceipt");    }