摘要: WEB-INF/error.jsp / * tomcat服务器WEB-INF目录内的东西是不能被用户直接访问的 在web.xml 中添加如下代码 / * 代码容易暴漏给用户,所以配置在.xml文件中 <error-page> <error-code>500</error-code> <locatio 阅读全文
posted @ 2020-03-05 22:33 tcanhe 阅读(422) 评论(0) 推荐(0)
摘要: viewport width=device-width initial-scale=1 是个坑 之后补 阅读全文
posted @ 2020-03-05 22:11 tcanhe 阅读(148) 评论(0) 推荐(0)
摘要: C:\Windows\System32\drivers\etc\hosts 将hosts文件中的”127.0.0.1 localhost“中localhost换成您想要的域名 # localhost name resolution is handled within DNS itself. 127. 阅读全文
posted @ 2020-03-05 22:08 tcanhe 阅读(966) 评论(0) 推荐(0)
摘要: 方法一、以按钮点击的方式实现:<input type="button" name="Submit" value="返回上一页" onclick="javascript:window.history.back(-1);">或者<input type="button" name="Submit" val 阅读全文
posted @ 2020-03-05 22:05 tcanhe 阅读(1236) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="java.util.Date" %> <%@ page im 阅读全文
posted @ 2020-03-05 22:02 tcanhe 阅读(2477) 评论(0) 推荐(0)