AccountActionForm workingAcctForm = new AccountActionForm();
request.getSession().removeAttribute("workingAccountForm");
request.getSession().setAttribute("workingAccountForm", workingAcctForm);
if (workingAcctForm.getAccount() == null) {
workingAcctForm.setAccount(new Account());
}
if (workingAcctForm.getCategories() == null) {
workingAcctForm.setCategories(getPetStore().getCategoryList());
}
return mapping.findForward("success");