“校园知网”5月6日冲刺计划书

  • 我昨天的成就(完成了哪个任务,花了多少时间,还剩余多少时间)

  1. 完成管理员界面的搭建但相应功能没有完成
  2. 花费大概5+小时的时间
  • 遇到什么困难

  1. 连接数据库如何动态获取数据库中其它表的数据书目并显示
  2. 参考博客:数据库连接池https://www.cnblogs.com/xdp-gacl/p/4002804.html
  3. 字符串String类型,赋值时需要调用数据库类里面个非静态方法给它赋值,直接赋值会报错
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/pub/include.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理</title>
<link href="<%=request.getContextPath() %>/css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript">
function settime(){
    var time = new Date();
    var str = "";
    str += time.getFullYear()+"-";
    str += (time.getMonth()+1)+"-";
    str += time.getDate()+"-";
    str += " ";
    str += time.getHours()+":";
    str += time.getMinutes()+":";
    str += time.getSeconds();
    $("#time").html(str);
    $("#time1").html(str);
    setTimeout("settime()",1000);
}
$(function(){
    settime();
});
</script>
</head>
<body>
<div class="content">
<jsp:include page="pub/top.jsp"></jsp:include>
<!--头部结束-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="left" valign="top">
<c:choose>
<c:when test="${m=='index'}"><jsp:include page="pub/left.jsp"></jsp:include></c:when>
<c:when test="${m=='news'}"><jsp:include page="pub/left_news.jsp"></jsp:include></c:when>
<c:when test="${m=='clazz'}"><jsp:include page="pub/left_clazz.jsp"></jsp:include></c:when>
<c:when test="${m=='source'}"><jsp:include page="pub/left_source.jsp"></jsp:include></c:when>
<c:when test="${m=='topic'}"><jsp:include page="pub/left_topic.jsp"></jsp:include></c:when>
<c:otherwise></c:otherwise>
</c:choose>
</td>
<td valign="top">
    <div class="xitong">
        <h3>系统参数</h3>
        <ul>
        <li>新闻数量:<c:out value="${newsnum}" />条 <a href="<c:url value="/admin/news/news.do?m=list"/>">查看</a></li>
        <li>课程数量:<c:out value="${clazznum}" />条 <a href="<c:url value="/admin/clazz/clazz.do?m=list"/>">查看</a></li>
        <li>资源数量:<c:out value="${sourcenum}" />个 <a href="<c:url value="/admin/source/source.do?m=list"/>">查看</a></li>
        <li>帖子数量:<c:out value="${topicnum}" />条 <a href="<c:url value="/admin/topic/topic.do?m=list"/>">查看</a></li>
        <li>登陆IP:127.0.0.1</li>
        <li>当前时间:<span id="time"></span></li>
        <li>最后登陆IP:127.0.0.1</li>
        <li>最后登陆时间:2019-5-5</li>
        <div class="clear"></div>
        </ul>
    </div>
    <div class="xitong">
        <h3>系统参数</h3>
        <ul>
        <li>新闻数量:<c:out value="${newsnum}" />条 <a href="<c:url value="/admin/news/news.do?m=list"/>">查看</a></li>
        <li>课程数量:<c:out value="${clazznum}" />条 <a href="<c:url value="/admin/clazz/clazz.do?m=list"/>">查看</a></li>
        <li>资源数量:<c:out value="${sourcenum}" />个 <a href="<c:url value="/admin/source/source.do?m=list"/>">查看</a></li>
        <li>帖子数量:<c:out value="${topicnum}" />条 <a href="<c:url value="/admin/topic/topic.do?m=list"/>">查看</a></li>
        <li>登陆IP:127.0.0.1</li>
        <li>当前时间:<span id="time1"></span> </li>
        <li>最后登陆IP:127.0.0.1</li>
        <li>最后登陆时间:2019-5-5</li>
        <div class="clear"></div>
        </ul>
    </div>
    <br />
    <br />
</td>
</tr>
</table>
<jsp:include page="pub/foot.jsp"></jsp:include>
</div>
</body>
</html>
  • 今天的任务

  1. 后台管理功能的实现
  2. 文件上传下载,课程视频的上传下载
  3. 新闻题目的管理功能等
posted @ 2019-05-06 09:05  符黑石  阅读(239)  评论(0编辑  收藏  举报