📄 indexasdfasdf.jsp
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<c:if test="${user==null}">
<form method="post" action="login.do">
<table height="86" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="42%" height="26" class="text" align="right">用户名 </td>
<td width="58%" align="left"><input name="userid" class="frame" type="text" size="14" /></td>
</tr>
<tr>
<td height="26" align="right" class="text">密 码 </td>
<td align="left"><input name="password" type="password" class="frame" size="14" /></td>
</tr>
<tr>
<td align="right"> <a href="student/login.jsp">学生页面</a></td>
</tr>
<tr>
<td align="right"> <a href="company/login.jsp">单位登陆页面</a></td>
</tr>
<tr>
<td align="right"> <a href="college/login.jsp">学院登陆页面</a></td>
</tr>
<tr>
<td height="32" align="right" class="text"> </td>
<td align="left">
<input name="imageField2" type="image" src="images/sub2_40.gif" width="54" height="25" align="absmiddle" >
</td>
</tr>
</table>
</form>
</c:if>
<c:if test="${user!=null}">
<table height="86" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="53%" height="26" class="text" align="right">用户名 </td>
<td width="47%" align="left"><c:out value="${user.username}" /></td>
</tr>
<tr>
<td height="26" align="right" class="text"></td>
<td align="left"></td>
</tr>
<tr align="center">
<td height="32" class="text" colspan="2">
<c:if test="${user.manager==1}">
<a href="oa/index.do" class="date">过入后台管理</a>
</c:if>
<c:if test="${user.manager==0}">
<a href="logout.jsp" class="date">退出登陆</a>
</c:if>
</td>
</tr>
</table>
</c:if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -