code: private static boolean isIEVersionInferiorOrEqualTo(HttpServletRequest req, int ieVersion) {
  
  		boolean result = false;
  		String agent = req.getHeader("User-Agent");
  		if (LOGGER.isDebugEnabled()) {
  			LOGGER.debug("User-Agent for this request:" + agent);
  		}
  		if (agent != null) {
  
  			Matcher matcher = IE_USER_AGENT_PATTERN.matcher(agent);
  			if (matcher.find()) {
  				int version = Integer.parseInt(matcher.group(1));
  				if (version <= ieVersion) {
  					result = true;
  				}
  			}
  		}
  
  		return result;
  	}
docs: Checks if the user agent is IE and the version is equal or less than the
  one passed in parameter
  
  @param req
  the request
  @param the
  IE version to check
  @return true if the user agent is IE and the version is equal or less
  than the one passed in parameter