📄 login.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="comm/header.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
<script language="javascript">
<!--
function checklogin(){
if (document.login.username.value.length == 0) {
alert("请输入您的用户名");
document.login.username.focus();
return false;
}
if (document.login.username.value.length >12) {
alert("用户名长度不大于12个字符");
document.login.username.focus();
return false;
}
if (document.login.username.value.indexOf(" ")!=-1){
alert("用户名不能够包含空格");
document.login.username.focus();
return false;
}
if (document.login.password.value.length == 0) {
alert("请输入您的密码");
document.login.password.focus();
return false;
}
if (document.login.password.value.length < 6) {
alert("密码长度应不小于6");
document.login.password.focus();
return false;
}
}
-->
</script>
</head>
<body>
<div class="tabwidth">
<yhbbs:bbsLogin />
</div>
<div class="tabwidth">
<yhbbs:footer/>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -