• 大小: 34.64MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-16
  • 语言: Java
  • 标签: mysql  

资源简介

.这是java语言和MySQL数据库的实验室管理系统,内含数据库代码。

资源截图

代码片段和文件信息

package com.controller;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dao.AboutDAO;
import com.entity.About;

@Controller
public class AboutController extends baseController {
@Resource
AboutDAO aboutDAO;

@RequestMapping(“/admin/showAbout“)
public String showAbout(int idHttpServletRequest request){
About about =  aboutDAO.findById(id);
request.setAttribute(“about“ about);
return “admin/aboutedit“;
}

@RequestMapping(“/admin/aboutEdit“)
public String aboutEdit(About aboutHttpServletRequest request){
aboutDAO.update(about);
return “redirect:showAbout.do?id=1“;
}






}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-10-09 15:46  secondproductssm\
     文件        6877  2019-10-10 11:56  secondproductssm\.classpath
     目录           0  2019-10-09 15:46  secondproductssm\.externalToolBuilders\
     文件         551  2019-02-24 14:33  secondproductssm\.externalToolBuilders\org.eclipse.wst.jsdt.core.javascriptValidator.launch
     文件         550  2019-02-24 14:33  secondproductssm\.externalToolBuilders\org.eclipse.wst.validation.validationbuilder.launch
     目录           0  2019-10-10 11:57  secondproductssm\.myeclipse\
     文件         322  2019-05-05 14:10  secondproductssm\.mymetadata
     文件        2561  2019-02-24 14:33  secondproductssm\.project
     目录           0  2019-10-09 15:46  secondproductssm\.settings\
     文件         500  2019-02-24 14:33  secondproductssm\.settings\.jsdtscope
     文件          74  2019-02-24 14:33  secondproductssm\.settings\com.genuitec.eclipse.core.prefs
     文件        1035  2019-02-24 14:33  secondproductssm\.settings\com.genuitec.eclipse.j2eedt.core.prefs
     文件        1009  2019-02-24 14:33  secondproductssm\.settings\com.genuitec.eclipse.j2eedt.ui.prefs
     文件         296  2019-02-24 14:33  secondproductssm\.settings\com.genuitec.eclipse.migration.prefs
     文件          57  2019-02-24 14:33  secondproductssm\.settings\org.eclipse.core.resources.prefs
     文件         629  2019-05-05 14:11  secondproductssm\.settings\org.eclipse.jdt.core.prefs
     文件         680  2019-02-24 14:33  secondproductssm\.settings\org.eclipse.wst.common.component
     文件         482  2019-02-24 14:33  secondproductssm\.settings\org.eclipse.wst.common.project.facet.core.prefs.xml
     文件         407  2019-02-24 14:33  secondproductssm\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2019-02-24 14:33  secondproductssm\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2019-02-24 14:33  secondproductssm\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件         473  2019-02-24 14:33  secondproductssm\.springBeans
     文件         120  2019-02-24 14:33  secondproductssm\.tern-project
     目录           0  2019-10-09 15:46  secondproductssm\WebRoot\
     目录           0  2019-10-09 15:46  secondproductssm\WebRoot\meta-INF\
     文件          36  2019-02-24 14:33  secondproductssm\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2019-10-10 11:55  secondproductssm\WebRoot\WEB-INF\
     目录           0  2019-10-10 11:56  secondproductssm\WebRoot\WEB-INF\classes\
     目录           0  2019-10-10 11:56  secondproductssm\WebRoot\WEB-INF\classes\meta-INF\
     文件          40  2019-02-24 14:33  secondproductssm\WebRoot\WEB-INF\classes\meta-INF\MANIFEST.MF
     目录           0  2019-10-10 11:56  secondproductssm\WebRoot\WEB-INF\classes\com\
............此处省略1458个文件信息

评论

共有 条评论