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

📄 login.jsp

📁 功能说明: 前台:文章浏览、发表留言、Game、Music 后台:文章相关:发表文章、修改文章、删除文章、批量移动文章 栏目相关:增加栏目、修改栏目、删除栏目、栏目链接、栏目排序 系统栏目分
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/app/inc/taglibs2.jsp"%> 
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><bean:message key="admin.login.title"/></title>
<meta name="keywords" content="www.yyhweb.com,yhcms,java,yyh,由由华网,个人网站,新闻系统,文章管理系统,">
<meta name="description" content="www.yyhweb.com由由华网(个人网站),爱好编程,热爱生活">
<meta name="generator" content="YHCMS 2.0,yhcms">
<meta name="author" content="stephen,yyh,yyhweb@126.com">
<script language="javascript">
 function onLogin(){
  if (document.forms[0].username.value.length <1) {
		alert("请填写你的用户名.");
		document.forms[0].username.focus();
		return false;
	}
  if (document.forms[0].username.value.length >16) {
		alert("你的称呼不能够超过16位.");
		document.forms[0].username.focus();
		return false;
	}
  if (document.forms[0].password.value.length <1) {
		alert("请填写你的用户名对应的密码.");
		document.forms[0].password.focus();
		return false;
  }
  if (document.forms[0].password.value.length <6) {
		alert("你的密码不长度应该小于6位.");
		document.forms[0].password.focus();
		return false;
  }
  if (document.forms[0].checknum.value.length <4) {
		alert("请填写此次登录的验证码.");
		document.forms[0].checknum.focus();
		return false;
	}
 }
</script>
</head>
<body>
<html:link page="/index.html"><bean:message key="admin.login.index"/></html:link>
<p><center><font color="red"><html:errors /></font></center>
<table class="tab1" align="center" width="300px"  cellSpacing="0" cellPadding="0" >
	<tr align="center" height="30px"><td colspan="2" class="td_b"><bean:message key="admin.login.head"/></td></tr>
	<html:form action="/login/LoginAction.html" method="post" onsubmit="return onLogin()" focus="username" >
	<tr align="center" class="tr_1"  height="30px">
		<td><bean:message key="admin.login.username"/>:</td>
		<td class="td_l"><html:text property="username" /></td>
	</tr>
	<tr align="center" class="tr_1" height="30px">
		<td class="td_t"><bean:message key="admin.login.password"/>:</td>
		<td class="td_lt" ><html:password property="password"/></td>
	</tr>
	<tr align="center" class="tr_1" height="30px">
		<td class="td_t"><bean:message key="admin.login.code"/>:</td><td class="td_lt">
		<html:text property="checknum" size="6" maxlength="4"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<img border=0 src='../yhdrawimg'></td>
	</tr>
	<tr align="center"  height="30px"><td colSpan="2" class="td_t" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="submit" class="button" value="<bean:message key="all.submit"/>"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="reset" class="button" value="<bean:message key="all.reset"/>"/></td>
	</tr>
	</html:form>
</table>
</body>
</html:html>

⌨️ 快捷键说明

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