public void handle(String target, HttpServletRequest request, HttpServletResponse response, boolean[] isHandled) { int index = target.lastIndexOf(".html"); if (index != -1) target = target.substring(0, index); nextHandler.handle(target, request, response, isHandled); } 这么写只能拦截 .html 要想同时拦截其他怎么办