HttpServletRequest request, HttpServletResponse response) throws Exception {
HttpServletRequest request, HttpServletResponse response) {
    public ActionForward backToResultList(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        final String resultType = request.getParameterMap().containsKey("resultType") ?                request.getParameter("resultType") : (String) request.getAttribute("resultType");        String forwardTo = null;                if (!(resultType == null || resultType.equals(""))) {            if(resultType.compareTo(ResultPatent.class.getSimpleName())==0){                forwardTo = new String("listPatents");            }            else {                forwardTo = new String("ListPublications");            }        }        return mapping.findForward(forwardTo);    }