📄 right_column.jsp
字号:
<td class="right_col" >
<c:choose>
<c:when test="${sessionScope['userRole'] == '1'}">
<a href="Controller?action=LogoutAction">Log out</a>
</c:when>
<c:otherwise>
<form name="change_password" method=POST action="Controller?action=ChangePasswordAction">
<table class="user_table" align="center">
<tr>
<td class="login_col">Logged in: <%= session.getAttribute("username") %></td>
<td class="login_col" align="right"><a href="Controller?action=LogoutAction">Log out</a></td>
</tr>
<tr>
<td colspan=2 class="invisible_col"></td>
</tr>
<tr>
<td class="edit_col">Current password</td>
<td class="edit_col"><input type="password" name="currentpw"
maxlength="20"></td>
</tr>
<tr>
<td class="edit_col">New password</td>
<td class="edit_col"><input type="password" name="pw"></td>
</tr>
<tr>
<td class="edit_col">Confirm password</td>
<td class="edit_col"><input type="password" name="confirm"></td>
</tr>
<tr>
<td colspan=2 align="right" class="invisible_col"><input type=BUTTON
class="button" value="Change password" onclick="changePassword()"></td>
</tr>
</table>
</form>
</c:otherwise>
</c:choose>
</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -