ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
Benutzer benutzer = getBenutzer(request);
if (benutzer == null) {
populate(request);
return mapping.findForward(Constants.LIST);
}
ActionMessages messages = new ActionMessages();
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("messages.question.delete", benutzer.getBenutzername()));
saveMessages(request, messages);
request.setAttribute(Constants.ACTION, Constants.BENUTZER_ACTION);
request.setAttribute(Constants.DISPATCH_YES, Constants.DELETE);
request.setAttribute(Constants.DISPATCH_NO, Constants.LIST);
request.setAttribute(Constants.ID_NAME, Constants.BENUTZER_ID);
request.setAttribute(Constants.ID_VALUE, benutzer.getBenutzerId());
return mapping.findForward(Constants.QUESTION);
}