index.jsp

来自「spring整合struts」· JSP 代码 · 共 21 行

JSP
21
字号
<%@ page language="java" contentType="text/html; charset=gb2312"%>
<%@ 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 UserForm form</title>
	</head>
	<body>
		<html:form action="/user">
			username : <html:text property="username"/><html:errors property="username"/><br/>
			password : <html:password property="password"/><html:errors property="password"/><br/>
			password2 : <html:password property="password2"/><html:errors property="password2"/><br/>
			email : <html:text property="email"/><html:errors property="email"/><br/>
			langsin : <html:text property="langsin"/><html:errors property="langsin"/>please input "langsin"<br/>
			<html:submit/><html:cancel/>
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

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