第一范文网 - 专业文章范例文档资料分享平台

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

来源:用户分享 时间:2025/7/3 16:35:12 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

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 \

搜索更多关于: 大连交通大学计算机毕业论文格式 的文档
大连交通大学计算机毕业论文格式.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c7sk3l3k0ss55t2g95zz6_5.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top