📄 login.jsp
字号:
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<SCRIPT LANGUAGE="JavaScript" type="">
<!--
function clearFields()
{
document.getElementById("username").value="";
document.getElementById("password").value="";
}
//-->
</SCRIPT><html:javascript formName="login"/>
<html:form action="login" onsubmit="return validateLogin(this);">
<table border="0" width="60%">
<tr>
<td class="thd" colspan="2" width="50%" align="center">
在线登录
</td>
</tr>
<tr>
<td class="tdata" width="50%">
<bean:message key="salesForm.username"/>
<font color="red">*</font>
</td>
<td class="tdata" width="50%">
<html:text styleClass="inputstyle" styleId="username" property="salesDto.username"/>
</td>
</tr>
<tr>
<td class="tdata" width="50%">
<bean:message key="salesForm.password"/>
<font color="red">*</font>
</td>
<td class="tdata" width="50%">
<html:password styleClass="inputstyle" styleId="password" property="salesDto.password"/>
</td>
</tr>
<tr>
<tr>
<td colspan="2" align="center">
<html:submit styleClass="btnaction">
<bean:message key="button.login"/>
</html:submit>
<!--
html : reset styleClass="btnaction" >
< bean:message key="button.reset"/ >
< /html:reset
-->
<input type="button" name="clear" value="取消" class="btnaction" onClick="javascript:clearFields()">
</td>
</tr>
<tr>
<td class="thd" colspan="2" width="50%" align="center"> </td>
</tr>
<tr>
<td class="thd" colspan="2" width="50%" align="center">
<a href="registrationForward.do">新用户?</a>
</td>
</tr>
</table>
<html:errors/>
</html:form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -