jsp
淘技术
专注于分享最前沿的技术干货,最热门的实用工具,最火爆的社区新闻!
展开
-
The JSP specification requires that an attribute name is preceded by whitespace
一个jsp页面在本地运行一点问题没有,发布到服务器就报错了:The JSP specification requires that an attribute name is preceded by whitespace,最后发现竟然是这么一上小问题,在pageEncoding="GBK"前面少了一个空格pageEncoding="GBK"%>加个空格,问题解决转载 2017-11-01 09:28:06 · 300 阅读 · 0 评论 -
js调用浏览器打印
function btnPrintClick(){ bdhtml=window.document.body.innerHTML; //先保存当前页面 document.body.innerHTML=document.getElementById('task_form').innerHTML//获取需要打印的div window.print(); window.document.body...原创 2018-03-01 14:52:09 · 1572 阅读 · 0 评论