<html>
<head>
<title>注册</title>
</head>
<body>
<from method="post" action="index.jsp">
<input type="text" name="username">
<input type="text" name="name">
<input type="text" name="age">
<button type="submit">注册</button>
</fron>
</body>
</html>
<jsp:useBean id="string" class="com.media.bean.string" scope="request" ></jsp:useBean>
<%string username=request.getParameter("username");
user user=new user()
user.setUsername("admin")
%>