if (request.getParameter("rename") != null) {
if (request.getParameter("newName") != null) {
    public ActionForward execute(ActionMapping mapping,                                 ActionForm form,                                 HttpServletRequest request,                                 HttpServletResponse response)        throws Exception {        if (request.getParameter("rename") != null) {            return rename(mapping, form, request, response);        } else {            LOG.debug("execute returning null");            return null;        }    }