通过这次的测试,认识到了这个学期我需要完成的目标 首先老师给我们一个模板 开始有点懵 不知道如何下手 仔细考虑了一下是需要自己添加jsp或者html文件的。但是还是不知道具体的功能如何实现 只能大概的实现登录和验证码功能 以及数据库的增删改查 但是各种模块的功能实现还是不太清楚。 查看网上教程里的其他源代码 稍微改进了一下
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--框架必需start--> <script type="text/javascript" src="../js/jquery-1.4.js"></script> <script type="text/javascript" src="../js/framework.js"></script> <link href="../css/import_basic.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" id="skin" /> <!--框架必需end--> <script type="text/javascript" src="../js/nav/ddaccordion.js"></script> <script type="text/javascript" src="../js/text/text-overflow.js"></script> <style> a { behavior: url(../js/method/focus.htc) } .categoryitems span { 160px; } </style> <script> //打开内页时出现进度条 $(function() { $(".categoryitems a[target*=frmright]").click(function() { showProgressBar(); }) }) function ccc() { doAjax("../Removeabc", null, function(rstText) { var result = eval('(' + rstText + ')'); if (result.status == 'OK') { alert("查询成功"); return true; } else { alert("查询失败"); return false; } }); } function getXMLHttpResquest() { var request; if (window.XMLHttpRequest) { request = new XMLHttpRequest(); } else { try { request = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { request = new ActiveXObject("Msxml2.XMLHTTP"); } } return request; } function doAjax(url, params, callBack) { var req = getXMLHttpResquest(); if (req != null) { req.onreadystatechange = function() { if (req.readyState == 4) { if (200 == req.status) { callBack(req.responseText); } else if (404 == req.status) { alert('404-HTTP请求路径错误!'); } else if (500 == req.status) { alert('500-HTTP请求路径错误!'); } } }; req.open("POST", url, true); req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;;charset=utf-8"); req.send(params); } } </script> <body leftFrame="true"> <div id="scrollContent"> <div class="arrowlistmenu"> <div class="menuheader expandable">系统aaaa菜单</div> <ul class="categoryitems"> <li>河北省重大技术需求征集表</li> <ul> <li><a href='../templete/yygl.jsp' target='frmright'><span class='text_slice'>在线填报</span></a></li> <li><a href='../templete/jsgl.jsp' target='frmright'><span class='text_slice'>遍历</span></a></li> <li><a href='../templete/qxgl1.jsp' target='frmright'><span class='text_slice'>查找</span></a></li> <li><a href='../templete/mywj.jsp' target='frmright'><span class='text_slice'>审核</span></a></li> </ul> <li>管理员操作</li> <ul> <li><a onclick='ccc()' href='../templete/xssh.jsp' target='frmright'><span class='text_slice'>修改用户信息</span></a></li> <li><a href='../templete/bmsh.jsp' target='frmright'><span class='text_slice'>录入用户信息</span></a></li> <li><a href='../templete/tongji.jsp' target='frmright'><span class='text_slice'>删除用户信息</span></a></li> <li><a href='../templete/mmxg.jsp' target='frmright'><span class='text_slice'>遍历用户信息</span></a></li> </ul> </ul> </body> </html>