You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ralph Schaer <sc...@ess.ch> on 2000/12/01 14:19:00 UTC

Bug in ActionServlet

There is a bug in the initOther method


Method initOther()

        if (value != null) {
            value = getServletConfig().getInitParameter("nocache");
            if ("true".equalsIgnoreCase(value) ||
                "yes".equalsIgnoreCase(value))
                nocache = true;
        }



this should be

	  value = getServletConfig().getInitParameter("nocache");
        if (value != null) {            
            if ("true".equalsIgnoreCase(value) ||
                "yes".equalsIgnoreCase(value))
                nocache = true;
        }


Regards
Ralph