⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.jsp

📁 自己写的一个struts+spring+hibernate测试程序
💻 JSP
字号:
<%@ page pageEncoding="UTF-8" %>
<%@ include file="/include/shortheader.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script>
$(document).ready(function(){
    $("#loginform").validate("validate-config/login.xml");
	
});
</script>
<logic:present name="errorMsg" >
<div id="msgBox" style="position:absolute; display:block; width:300px; height:250px; top:expression(screen.height/2-75);left:expression(screen.width/2-150);left: -60px; top: -89px;"> 
  <table border="0" align="center" cellpadding="4" cellspacing="0" class="tablebox" style="background:#FFF;"> 
    <tr> 
      <td class="boxtitle">系统提示</td> 
    </tr> 
    <tr> 
      <td> <div><bean:write name="errorMsg" /></div> 
        <br/> 
        <div> <a href="javascript:void(0)" onclick="$('#msgBox').hide();"> [关闭] </a> </div></td> 
    </tr> 
  </table> 
</div> 
</logic:present>
  <form action="LoginAction.do" method="post" id="loginform">
  <input type="hidden" name="dispatch" value="doLogin">
     <table>
        <tr>
         <td>用户名称:</td>
         <td><input type="text" name="userName" id="userName"></td>
        </tr>
        <tr>
         <td>用户密码:</td>
         <td><input type="password" id="password" name="pwd"></td>
        </tr>
        <tr>
         <td>&nbsp;</td>
         <td><input type="submit" name="denglu" value="登陆">&nbsp;<input type="button" name="denglu" value="重置" onclick="reset(this.form)"></td>
        </tr>
     </table>
    </form>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -