passwordmodification.jsp
来自「一个很好的开源项目管理系统源代码」· JSP 代码 · 共 61 行
JSP
61 行
<%@ include file="../includes/taglibs.jsp" %><%@ page import="net.java.workeffort.infrastructure.security.ISecurityProfile"%><form name="appForm" action="passwordModification.do" method="post"> <input type="hidden" name="dispatch" value="" > <input type="hidden" name="_txToken" value="<%=session.getAttribute("txToken") %>"> <% ISecurityProfile securityProfile = (ISecurityProfile) pageContext.findAttribute("net.java.workeffort.SECURITY_PROFILE"); if (securityProfile.getAccessDecision("SecurityService", "resetPassword") == ISecurityProfile.ALLOWED) { pageContext.getRequest().setAttribute("resetPassword", "yes"); } else { pageContext.getRequest().setAttribute("resetPassword", null); } %> <div id="buttonBar"> <c:choose> <c:when test='${resetPassword == "yes"}' > <input type="button" onclick="this.form.dispatch.value='submitPasswordReset';this.form.submit()" value="<spring:message code="button.submit" />"> </c:when> <c:otherwise> <input type="button" onclick="this.form.dispatch.value='submitPasswordChange';this.form.submit()" value="<spring:message code="button.submit" />"> </c:otherwise> </c:choose> </div> <div> <spring:nestedPath path="command" > <table> <c:if test='${resetPassword == "yes"}' > <tr> <td> <spring:message code="partyCd"/>:* </td> <td> <html:text path="partyCd" size="15" maxlength="15"/> </td> </tr> </c:if> <tr> <td> <spring:message code="password1"/>:* </td> <td> <spring:bind path="password1"> <input type="password" name="<c:out value="${status.expression}" />" maxlength="15" size="15" value="" /> </spring:bind> </td> </tr> <tr> <td> <spring:message code="password2"/>:* </td> <td> <spring:bind path="password2"> <input type="password" name="<c:out value="${status.expression}" />" maxlength="15" size="15" value="" /> </spring:bind> </td> </tr> </table> </div> </spring:nestedPath></form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?