throws Exception {
List<Registration> registrations = getUserView(request).getPerson().getStudent().getActiveRegistrations();
if (registrations.size() == 1) {
return forwardToShow(registrations.iterator().next(), mapping, request);
} else {
RegistrationsBean bean = new RegistrationsBean();
bean.setRegistrations(registrations);
request.setAttribute("bean", bean);
return mapping.findForward("chooseRegistration");
}
}