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

Login.jsp

<%@ taglib prefix="s" uri="/struts-tags"%>
<h1>Login User</h1>
<font color="red"><s:actionerror /></font>
<font color="green"><s:actionmessage /></font>
<s:form action="/auth/s_Login">
    <tr>
        <td><s:textfield name="login" label="Login*"></s:textfield></td>
        <td><s:password name="password" label="Password*"></s:password>
    </tr>
    <tr>
        <td align="right" colspan="2"><s:submit name="operation"
                value="Sign In" theme="simple"></s:submit> <s:submit action="d_UserRegistration"
                name="operation" value="Sign Up" theme="simple"></s:submit></td>
    </tr>
    <tr>
        <td align="right" colspan="2"><a href="d_ForgetPassword">Forget
                Password</a></td>
    </tr>
</s:form>
Comments