protected ActionForward edit(ActionMapping mapping, ActionForm form,HttpServletRequest req, HttpServletResponse resp){
req.getSession().setAttribute("task", "modify");
EnterEditDuplicateForm<ET> f = (EnterEditDuplicateForm<ET>)form;
ET entry = entryFromDatabase(f.getId());
if (entry == null){
throw new InputException(getLocalizedMessage("SystemWeb", "sys.entryNotAvailable"),"id = " + f.getId(),null,null);
}
f.initialize(entry,locale,session,getResources(req));
Group group = groupPreparation(req, f.getGroupId());
f.setGroupId(group.getId());
Application application = applicationPreparation(req, group, f.getApplicationId());