public ActionForward generateDebts(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws Exception {
ResidentListsHolderBean listHolder = getRenderedObject("importList");
ImportResidenceEventBean eventBean = getRenderedObject("dateBean");
try {
CreateResidenceEvents.run(listHolder.getSuccessfulEvents(), eventBean.getResidenceMonth());
} catch (Exception e) {
addActionMessage(request, e.getMessage());
return importData(mapping, actionForm, request, response);
}
request.setAttribute("createdDebts", true);