String pingTargetId = pingTargetForm.getId();
if (pingTargetId == null || pingTargetId.length() == 0) {
throw new RollerException("Missing ping target id.");
}
PingTargetData ping = pingTargetMgr.getPingTarget(pingTargetId);
pingTargetMgr.removePingTarget(ping);
RollerFactory.getRoller().flush();
return view(mapping, form, req, res);
} catch (Exception e) {
getLogger().error("ERROR in action", e);
throw new ServletException(e);