e071b42f9213001c1517aaa5541750dc

来自「使用JSP+Servlet+Hibernate+Struts实现的一个学生软件发」· 代码 · 共 31 行

TXT
31
字号
<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
 
<html> 
	<head>
		<title>JSP for RegisterForm form</title>
	</head>
	<body>
		<html:form action="/register"> 			Must:<br/>
			userName : <html:text property="userName" maxlength="16"/><html:errors property="userName"/><br/>
			password : <html:password property="password" maxlength="16"/><html:errors property="password"/><br/>
			rePassword : <html:password property="rePassword" maxlength="16"/><html:errors property="rePassword"/><br/>
			nick : <html:text property="nick" maxlength="20"/><html:errors property="nick"/><br/>
			email : <html:text property="email maxlength="32"/><html:errors property="email"/><br/>
			<hr>
			Not Must:<br/>
			name : <html:text property="name" maxlength="16"/><html:errors property="name"/><br/>			
			sex : <html:radio property="sex" value="M"/>M
				<html:radio property="sex" value="F"/>F
				<html:errors property="sex"/><br/>
			class_ : <html:text property="class_" maxlength="32"/><html:errors property="class_"/><br/>
			tel : <html:text property="tel" maxlength="20"/><html:errors property="tel"/><br/>
			Is Open?<html:checkbox property="isOpe" value="true"><br/></html:checkbox>
			<html:submit/><html:cancel/>
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?