?? userinfo.jsp
字號:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>JSP for UserinfoForm form</title>
</head>
<body>
<html:form action="/userinfo?method=create&action=save">
用戶名 : <html:text property="username"/><html:errors property="username"/><br/>
密 碼 : <html:text property="userpwd"/><html:errors property="userpwd"/><br/>
角色: <select name="rid">
<c:forEach items="${rolelist}" var="v">
<option value="${v.rid}">${v.rolename}</option>
</c:forEach>
</select><br/>
<html:submit/><html:cancel/>
</html:form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -