中转页面
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
<title>中转页面</title>
</head>
<body>
<jsp:forward page="login.jsp"></jsp:forward>
</body>
</html>
转到的登录页面
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<head>
<title>注册页面</title>
</head>
<body>
<form action="">
用户名:<input type="text" name="username" /><br> 密 码:<input
type="password" name="password" /> <input type="submit" value="注册" />
</form>
</body>
</html>