<%@page import="com.zhiyou.entity.User"%>
<%@page import="com.zhiyou.dao.LoginDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>判断页面</title>
<!-- 3秒钟后进入登录页面 -->
<script type="text/javascript">
setTimeout(function(){
top.location='login.jsp';
},3000)
</script>
</head>
<body>
<!-- 接收register页面传过来的数据 -->
<%
String username = request.getParameter("username");
String password = request.getParameter("password");
LoginDao dao = new LoginDao();
User user = dao.getById(username);
注册页面register2
最新推荐文章于 2024-03-09 17:01:41 发布