try {
SubmissionResult res = submit(req);
req.setAttribute(SUBMIT_RESULT, res);
try {
SubmissionResult res = submit(req);
req.setAttribute(SUBMIT_RESULT, res);
return false;
} catch (PermamentFormException e) {
req.setAttribute(SUBMIT_RESULT, e);
return false;
} catch (PermamentFormException e) {
req.setAttribute(SUBMIT_RESULT, e);
return false;
} catch (GigiApiException e) {
req.setAttribute(SUBMIT_RESULT, e);
return false;
} catch (GigiApiException e) {
req.setAttribute(SUBMIT_RESULT, e);