云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 大连交通大学计算机毕业论文格式

大连交通大学计算机毕业论文格式

  • 62 次阅读
  • 3 次下载
  • 2025/6/6 21:56:07

if (userType == 0) { }

if (userType == 1) { }

if (userType == 2) {

String sql = \ Object[] con = { userName, userPw };

List adminList = adminDAO.getHibernateTemplate().find(sql, con); if (adminList.size() == 0) {

result = \

WebContext ctx = WebContextFactory.get(); HttpSession session = ctx.getSession(); TStu stu = (TStu) adminList.get(0); session.setAttribute(\session.setAttribute(\result = \} else {

String sql = \ Object[] con = { userName, userPw };

List teaList = teaDAO.getHibernateTemplate().find(sql, con); if (teaList.size() == 0) { }

result = \

WebContext ctx = WebContextFactory.get(); HttpSession session = ctx.getSession(); TTea tea = (TTea) teaList.get(0); session.setAttribute(\session.setAttribute(\result = \} else {

String sql = \ Object[] con = { userName, userPw };

List adminList = adminDAO.getHibernateTemplate().find(sql, con); if (adminList.size() == 0) { }

result = \

WebContext ctx = WebContextFactory.get(); HttpSession session = ctx.getSession(); TAdmin admin = (TAdmin) adminList.get(0); session.setAttribute(\session.setAttribute(\result = \} else {

}

}

return result;

}

6.2系统前台模块的详细设计与实现 6.2.1学生登录的页面的详细设计与实现

<%

Object o=request.getAttribute(\ ArrayList list=(ArrayList)o; if(list.size()==0) { } %>

${sta.index+1 }:${timu.timuName } (

单选题 多选题 判断题 简单题 ,

本题${timu.timuFenshu }分

,标准答案:${timu.timuDaan} ,)

response.sendRedirect(path+\

var=\>

color=\>${timu.timuDaanAsStu}

A:

type=\ type=\ type=\ type=\

name=\${timu.timuId}\ name=\${timu.timuId}\ name=\${timu.timuId}\ name=\${timu.timuId}\

value=\ style=\0\value=\ style=\0\value=\ style=\0\value=\ style=\0\

A:

A:

type=\ type=\

name=\${timu.timuId}\ name=\${timu.timuId}\

value=\ style=\0\value=\ style=\0\value=\ style=\0\value=\ style=\0\

value=\ style=\0\value=\ style=\0\


6.3系统后台模块的详细设计与实现

public String adminPwEdit(String userPwNew) {

}

WebContext ctx = WebContextFactory.get();

e.printStackTrace();

System.out.println(\try {

Thread.sleep(700);

} catch (InterruptedException e) {

HttpSession session = ctx.getSession();

TAdmin admin = (TAdmin) session.getAttribute(\ admin.setUserPw(userPwNew);

adminDAO.getHibernateTemplate().update(admin); session.setAttribute(\return \}

6.3.4管理员的课程管理功能的详细设计与实现

// 添加课程

// 删除课程

public String kechengDel() { }

TKecheng kecheng = kechengDAO.findById(kechengId); kecheng.setDel(\

kechengDAO.attachDirty(kecheng); this.setMessage(\鎿嶄綔鎴愬姛\this.setPath(\return \// 课程管理

public String kechengMana() { }

String sql = \

List kechengList = kechengDAO.getHibernateTemplate().find(sql); Map request = (Map) ServletActionContext.getContext().get(\request.put(\ return ActionSupport.SUCCESS; public String kechengAdd() { }

TKecheng kecheng = new TKecheng(); kecheng.setKechengName(kechengName); kecheng.setDel(\kechengDAO.save(kecheng); this.setMessage(\鎿嶄綔鎴愬姛\this.setPath(\return \

搜索更多关于: 大连交通大学计算机毕业论文格式 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

if (userType == 0) { } if (userType == 1) { } if (userType == 2) { String sql = \ Object[] con = { userName, userPw }; List adminList = adminDAO.getHibernateTemplate().find(sql, con); if (adminList.size() == 0) { res

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com