效果图:
注册页面代码段:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>注册页面</title>
</head>
<body>
<form name="register" action="show.jsp" method="post">
<table border="2" align="center" cellpadding="5" cellspacing="0">
<caption><h2>填写注册信息</h2></caption>
<tr>
<td>用户名:*</td>
<td><input type="text" name="name" ></td