日期:2014-05-18 浏览次数:20762 次
<s:form action="login" method="post" validate="true" >
<p>
<label class="required" for="username">Username:</label><br/>
<s:textfield name="username" id="username"/>
</p>
<p>
<label class="required" for="password">Password:</label><br/>
<s:password name="password" id="password"/>
</p>
<p>
<input type="checkbox" id="remember" class="" value="1" name="remember"/>
<label class="choice" for="remember">Remember me?</label>
</p>
<p>
<s:submit id="submit" value="%{getText(\"login.submit\")}"/> <a href="javascript: //;" onClick="$('#emailform').slideDown(); return false;">Forgot password?</a> or <a href="#">Need help?</a>
</p>
<div class="clear"> </div>
</s:form>