Java+Tomcat+MySQL实现简单的网页注册和登录
2017-03-05 12:59
821 查看
<%
// HTTP头信息Expires告诉代理服务器它的缓存页面何时将过期
// no-cache:强制缓存从服务器上获取新的页面
// no-store: 在任何环境下缓存不保存任何页面
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
%>
<%--we use a form to submit the data inputted by users--%>
<%--action=The address to which submitted form data should be sent to--%>
<%--method=The HTTP method by which submitted form data should be sent--%>
<%--name=The name of the form--%>
// HTTP头信息Expires告诉代理服务器它的缓存页面何时将过期
// no-cache:强制缓存从服务器上获取新的页面
// no-store: 在任何环境下缓存不保存任何页面
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
%>
<%--we use a form to submit the data inputted by users--%>
<%--action=The address to which submitted form data should be sent to--%>
<%--method=The HTTP method by which submitted form data should be sent--%>
<%--name=The name of the form--%>
用户登录
用户名: | <%--here this data cell will take up two columns--%> <%--here we name the inputted data as username and send it to LoginTestServlet--%> <%--the onfocus attribute is used to clear the default values when the data cell is focused on--%> | |
密 码 | ||
<%--submit the form--%> | <%--reset the inputted data--%> | <%--call the goRegister() function on click--%> |
相关文章推荐
- 用JSP+Servlet+JavaBean模式实现一个简单的登录网页设计(JSP+Tomcat+MySQL)
- php+mysql实现简单登录注册修改密码网页
- JAVA、MySql实现登录注册(网页)
- php+mysql实现简单登录注册修改密码网页
- JavaWeb + mySQL + Android 实现Android简单的注册登录
- Java业务逻辑结合MySQL实现登录注册(XMPP协议的运用)
- java实现的简单网页爬虫:Servlet + MySQL5.5(二)
- 使用jsp+servlet+mysql+tomcat实现登录网页设计
- 利用简易Tomcat服务器结合MysqL实现Android手机注册与登录(服务器部分)
- express实现登录注册(mysql+mongodb),简单添加session(两种)
- jsp+javabean+servlet+Mysql实现MVC模式下的注册登录留言功能
- JAVA 用于练手的超简单登录注册,jdbc实现【学习笔记】
- JAVA简单实现MD5注册登录加密
- 利用简易Tomcat服务器结合MysqL实现Android手机注册与登录(服务器部分)
- javaWeb 简单注册登录(含数据库连接) -- (三) 实现用户注册请求的响应
- ODBC + WIN32 API 访问MYSQL 数据库实现简单QQ用户注册和登录 的代码分析
- 使用java,tomcat,mysql实现登录功能
- ODBC + WIN32 API 访问MYSQL 数据库实现简单QQ用户注册和登录
- java jsp+servlet+mysql实现登录网页设计
- SpringMVC+mybaits+mysql实现简单的登录注册