📄 20c19c576a2100121bf89be9aff7db74
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>mod_info.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<logic:equal name="login" scope="session" value="teacher">
<html:form action="/teaMod">
<bean:parameter id="arg0" name="name" value=""/>
userName : <bean:write name="arg0"/><br/>
trueName : <html:text property="trueName" maxlength="16"/><html:errors property="trueName"/><br/>
email : <html:text property="email" maxlength="32"/><html:errors property="email"/><br/>
<html:submit/><html:reset/>
</html:form>
</logic:equal>
<logic:equal name="login" scope="session" value="user">
<html:form action="/userMod">
Must:<br/>
<logic:notPresent name="userName">
<bean:parameter id="arg0" name="name" value=""/>
userName : <bean:write name="arg0"/><br/>
</logic:notPresent>
<logic:present name="userName">
userName : <bean:write name="userName"/><br/>
</logic:present>
nick : <html:text property="nick"/><html:errors property="nick"/><br/>
email : <html:text property="email"/><html:errors property="email"/><br/>
<hr/>
Not Must:<br/>
name : <html:text property="name"/><html:errors property="name"/><br/>
sex : <html:radio property="sex" value="M"/>M
<html:radio property="sex" value="F"/>F<br/>
<html:errors property="sex"/>
class_ : <html:text property="class_"/><html:errors property="class_"/><br/>
tel : <html:text property="tel"/><html:errors property="tel"/><br/>
intro : <html:textarea property="intro">
(<=200)
</html:textarea><html:errors property="intro"/><br/>
isOpen : <html:checkbox property="isOpen" value="true"/><html:errors property="isOpen"/><br/>
<logic:notPresent name="userName">
<html:hidden property="userName" value="<%=request.getParameter("name") %>"/>
</logic:notPresent>
<logic:present name="userName">
<html:hidden property="userName" value="<%=request.getAttribute("userName") %>"/>
</logic:present>
<html:submit/><html:reset/>
</html:form>
</logic:equal>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -