Source Code‎ > ‎WebContent‎ > ‎jsp‎ > ‎

ChangePassword.jsp

<%@ taglib prefix="s" uri="/struts-tags"%>
<h1 align="center">Change Password</h1>
<font color="red"><s:actionerror /></font>
<font color="green"><s:actionmessage /></font>
<s:form action="s_ChangePassword">
    <s:hidden name="id" value="%{#session.user.id}"></s:hidden>
    <tr>
        <td><s:password name="oldPassword" label="Old Password*"></s:password>
        <td><s:password name="newPassword" label="New Password*"></s:password></td>
        <td><s:password name="confirmPassword" label="Confirm Password*"></s:password></td>
    </tr>
    <tr>
        <td align="right" colspan="2"><s:submit name="operation"
                value="Save" theme="simple"></s:submit></td>
    </tr>
</s:form>
Comments