![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jsp
海纳GIS
super girl
展开
-
tomcat 用户登录 错误页面配置, 登陆成功后会跳转到index.jsp
web.xml中配置<login-config> <auth-method>FORM</auth-method> <realm-name>Example Form-Based Authentication Area</realm-name> <form-login-config> &l...原创 2019-04-22 10:10:09 · 1872 阅读 · 0 评论 -
微信扫描二维码跳转至浏览器打开 jsp
微信扫描二维码总是用默认浏览器打开,无法下载任何东西。怎么办呢?微信识别到打开为pdf 时,会自动给跳转至浏览器,所以解决方法就是服务器判断请求端为微信时,返回头部添加Content-type:application/pdfContent-Disposition:attachment;filename='downloaded.pdf'不是微信发起的请求则为真实网页。搞定!下面...原创 2019-07-24 11:20:38 · 2056 阅读 · 0 评论