系统软件实践报告格式Word文档格式.docx
- 文档编号:22427384
- 上传时间:2023-02-04
- 格式:DOCX
- 页数:23
- 大小:221.33KB
系统软件实践报告格式Word文档格式.docx
《系统软件实践报告格式Word文档格式.docx》由会员分享,可在线阅读,更多相关《系统软件实践报告格式Word文档格式.docx(23页珍藏版)》请在冰豆网上搜索。
其功能模块图如下:
数据库设计:
数据库名userinfodb,和下面的6个表
Admintable
Usertable
Hobbytable
Citytable
Provincetable
Userhobbytable
登陆画面:
<
html>
<
head>
basehref="
%=basePath%>
"
>
title>
MyJSP'
adminlogin.jsp'
startingpage<
/title>
metahttp-equiv="
pragma"
content="
no-cache"
cache-control"
expires"
0"
keywords"
keyword1,keyword2,keyword3"
description"
Thisismypage"
!
--
linkrel="
stylesheet"
type="
text/css"
href="
styles.css"
-->
scripttype="
text/javascript"
functioncheckNull()
{
//alert("
1"
);
varutValue=document.adminLoginForm.adminName.value;
//获取用户名文本框的值
varupValue=document.adminLoginForm.adminPassword.value;
//获取密码文本框的值
if(utValue=="
||utValue==null)//判断用户名文本框是否为空,如果为空,输出提示信息“*用户名不能为空”
{
document.getElementById("
utId"
).innerHTML="
*用户名不能为空"
;
//输出提示信息“*用户名不能为空”
}
elseif(upValue=="
||upValue==null)//判断密码文本框是否为空,如果为空,输出提示信息“*密码不能为空”
√"
//确认用户名文本框正确
//alert("
密码不能为空"
upId"
*密码不能为空"
//输出信息“*密码不能为空”
else//如果满足条件
//确认确认密码文本框正确
}
functioncheckNullButton(url)
//确认确认密码文本框正确
document.adminLoginForm.action=url;
document.adminLoginForm.submit();
/script>
/head>
body>
管理员登陆
${loginError}
<
formaction="
name="
adminLoginForm"
method="
post"
管理员名:
inputtype="
text"
adminName"
onclick="
checkNull()"
/>
spanid="
*<
/span>
br/>
管理员密码:
password"
adminPassword"
<
button"
value="
登录"
checkNullButton('
ToAdminIndex'
)"
/form>
ToUserLogin"
adminLoginFormTwo"
submit"
用户登录"
/body>
/html>
登陆成功
用户管理,并添加意见:
管理员登陆界面:
%@pagelanguage="
java"
import="
java.util.*"
pageEncoding="
UTF-8"
%>
%
Stringpath=request.getContextPath();
StringbasePath=request.getScheme()+"
:
//"
+request.getServerName()+"
+request.getServerPort()+path+"
/"
StringloginError=(String)request.getAttribute("
loginError"
if(loginError==null)
{
loginError="
}
DOCTYPEHTMLPUBLIC"
-//W3C//DTDHTML4.01Transitional//EN"
%=loginError%>
servlet/ToAdminIndexServlet'
servlet/ToUserLoginServlet"
管理员界面:
java.util.*,vo.*"
jsp:
useBeanid="
av"
scope="
session"
class="
vo.AdminVo"
/jsp:
useBean>
userList"
request"
java.util.ArrayList"
userListDel"
adminindex.jsp'
functiontoServlet(url){
document.adminListForm.action=url;
document.adminListForm.submit();
//删除
functioncheckHobbyTrue()
{
varuserIdObj=document.adminListForm.userId;
for(i=0;
i<
=userIdObj.length;
i++)
userIdObj[i].checked=true;
functioncheckHobbyFalse()
userIdObj[i].checked=false;
functioncheckHobbyInverse()
userIdObj[i].checked=!
userIdObj[i].checked;
//恢复
functioncheckHobbyTrueRe()
varuserIdObj=document.adminListFormTwo.userId;
functioncheckHobbyFalseRe()
functioncheckHobbyInverseRe()
欢迎你:
%=av.getAdminName()%>
用户列表:
adminListForm"
%for(inti=0;
userList.size();
i++){%>
checkbox"
userId"
%=((UserVo)userList.get(i)).getUserId()%>
ahref="
servlet/ToUserEditServlet?
userId=<
%=((UserVo)userList.get(i)).getUserName()%>
/a>
%}%>
value="
全选"
onclick="
checkHobbyTrue()"
/>
撤销"
checkHobbyFalse()"
反选"
checkHobbyInverse()"
添加"
toServlet('
servlet/ToUserAddServlet'
删除"
servlet/UserDeleteServlet'
作废的用户:
servlet/UserRecoverServlet"
adminListFormTwo"
userListDel.size();
%=((UserVo)userListDel.get(i)).getUserId()%>
%=((U
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 系统软件 实践 报告 格式
![提示](https://static.bdocx.com/images/bang_tan.gif)