• 大小: 499KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-01
  • 语言: Java
  • 标签:

资源简介

一套在java+MySQL开发的线作业提交系统,本人做的毕业设计,希望有用哦!!

资源截图

代码片段和文件信息

package action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import Dao.TeacherManager;
import actionForm.Tea_Message;


public class AdminMessage extends Action {

@Override
public ActionForward execute(ActionMapping mapping ActionForm form
HttpServletRequest request HttpServletResponse response)
throws Exception {
request.setCharacterEncoding(“UTF-8“);
Tea_Message t=(Tea_Message)form;

System.out.println(t.getTeacherid());
boolean temp=TeacherManager.getinstance().teacherAddMessage(t);

if(temp){

return mapping.findForward(“success“);
}else{
return mapping.findForward(“error“);
}
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        530  2009-05-04 18:33  UploadSystem\.classpath

     文件        310  2009-05-25 21:46  UploadSystem\.mymetadata

     文件       1230  2009-05-10 14:29  UploadSystem\.project

     文件        104  2009-05-04 18:12  UploadSystem\.settings\com.genuitec.eclipse.core.prefs

     文件       1040  2009-05-10 15:19  UploadSystem\.settings\com.genuitec.eclipse.j2eedt.core.prefs

     文件         88  2009-04-28 16:45  UploadSystem\.settings\org.eclipse.core.resources.prefs

     文件        896  2009-05-08 20:33  UploadSystem\src\action\AdminMessage.java

     文件       1480  2009-05-07 10:04  UploadSystem\src\action\Login.java

     文件        902  2009-05-10 18:26  UploadSystem\src\action\PingFenAction.java

     文件        599  2009-05-04 21:10  UploadSystem\src\action\Pro.java

     文件        904  2009-05-06 11:01  UploadSystem\src\action\StudentRegAction.java

     文件       1430  2009-05-07 09:49  UploadSystem\src\action\StudentUpload.java

     文件        898  2009-05-07 09:08  UploadSystem\src\action\TeacherMessage.java

     文件        912  2009-05-04 20:14  UploadSystem\src\action\TeacherRegAction.java

     文件       1396  2009-05-06 10:36  UploadSystem\src\action\TeacherUpload.java

     文件        408  2009-05-06 10:59  UploadSystem\src\actionForm\Admin.java

     文件       1057  2009-05-10 18:20  UploadSystem\src\actionForm\PingFen.java

     文件       1032  2009-05-10 19:27  UploadSystem\src\actionForm\Student.java

     文件        503  2009-05-07 09:35  UploadSystem\src\actionForm\StudentFile.java

     文件        778  2009-05-07 11:30  UploadSystem\src\actionForm\Teacher.java

     文件        503  2009-05-06 10:11  UploadSystem\src\actionForm\TeacherFile.java

     文件       1273  2009-05-07 10:24  UploadSystem\src\actionForm\Tea_Message.java

     文件       1286  2009-05-10 16:18  UploadSystem\src\actionForm\UploadFiles.java

     文件       7092  2009-05-10 18:25  UploadSystem\src\Dao\TeacherManager.java

     文件       1322  2009-05-10 18:44  UploadSystem\src\Dao\UserLogin.java

     文件        651  2009-05-04 19:34  UploadSystem\src\database\DB.java

     文件        425  2009-05-06 12:25  UploadSystem\WebRoot\admin\adminError.jsp

     文件        602  2009-05-04 15:42  UploadSystem\WebRoot\admin\adminHead.jsp

     文件        934  2009-04-29 10:48  UploadSystem\WebRoot\admin\adminIndex.jsp

     文件       2550  2009-05-07 10:46  UploadSystem\WebRoot\admin\adminLogin.jsp

............此处省略97个文件信息

评论

共有 条评论

相关资源