right_column.jsp
来自「symbian s60 end to end socket程序源码 基于第二版」· JSP 代码 · 共 38 行
JSP
38 行
<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 + =
减小字号Ctrl + -
显示快捷键?