在项目中碰到同事写的一段代码: //焦点必须在实时dom树中 if (ele && typeof this.document.contains === "function" && this.document.contains(ele) === false) { log("err set focus is not in document"); return; } 就去查了一下: ie支持contains方法.如果A元素包含B元素,则返回
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.http.InvalidMediaTypeException: Invalid mime type "application nd.ms-excel; charset=utf-8;charset=utf-8": does not contain '/