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

📄 index.jsp

📁 自己制作的联通CRM,支持客户分类,管理,升级,积分管理等等..
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<script language="javascript">
	function getCode(){	
			var imageobj = document.getElementById("image");
			imageobj.src = "${pageContext.request.contextPath}/image/img2.jsp";	
		}
		
		
		
		
        function acheckForm(){
		var username=document.getElementById("username").value
		var password=document.getElementById("password").value
		var code=document.getElementById("code").value
		
		if(password==null||password=="")
		{
			alert("密码不能为空");
		}else
		if(username==null||username=="")
		{
			alert("用户帐号不能为空");
		}else
		if(code==null||code=="")
		{
			alert("真实姓名不能为空");
		}
		else
		{
				form1.submit();
		}

	}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>用户登陆</title>
<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
</head>


<body style="margin: 0px" style='overflow-x:hidden' style='overflow-y:hidden'>
<html:form action="/loging" method="post" styleId="form1">
  <table width="1024" height="600" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td align="center" valign="middle" nowrap background="${pageContext.request.contextPath}/image/login.JPG"><table width="39%" border="0" align="right" cellpadding="0" cellspacing="0">
        <tr>
          <td width="75">&nbsp;</td>
          <td width="51">&nbsp;</td>
          <td width="59">&nbsp;</td>
          <td width="85">&nbsp;</td>
          <td width="129">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td colspan="5">&nbsp;</td>
        </tr>
        
        <tr>
          <td width="65" height="30" align="right" valign="middle" nowrap><strong>员工ID:</strong></td>
          
          <td height="30" colspan="2" nowrap>&nbsp;
            <html:text property="username" size="15"/></td>
          <td width="85" height="30" align="center" valign="middle" nowrap>
          <input type="hidden" name="tag" value="check">
		  <img src="${pageContext.request.contextPath}/image/310b.jpg" width="65" height="30" border="0" class="handcur" onClick="acheckForm();">		  	  </td>
          <td height="30">&nbsp;</td>
        </tr>
        <tr>
          <td width="65" height="30" align="right" valign="middle" nowrap><strong>密&nbsp; 码:</strong></td>
          
          <td height="30" colspan="2" nowrap>&nbsp;
            <html:password property="password" styleId="myP" size="15"/></td>
          <td height="30" align="center" valign="middle" nowrap>&nbsp;</td>
          <td height="30">&nbsp;</td>
        </tr>
        <tr>
          <td width="65" height="30" align="right" valign="middle" nowrap><strong>验证码:</strong></td>
          
          <td height="30" nowrap>&nbsp;
            <html:text property="code" size="5"/></td>
          <td height="30" nowrap>
		  <img id="image" src="${pageContext.request.contextPath}/image/img2.jsp">		  </td>
          <td height="30" align="left" valign="middle" nowrap><a  href="#" class="STYLE4" onClick="getCode(); return false;">看不清换一张</a>		  </td>
          <td height="30">&nbsp;</td>
        </tr>
        
        <tr>
          <td>&nbsp;</td>
          <td height="25">&nbsp;</td>
          <td height="25">&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table></td>
    </tr>
</table>
</html:form>
</body>
</html>

⌨️ 快捷键说明

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