资源简介

搭建简单的SSM框架项目,最适合新手使用,简单的增删改查功能实现

资源截图

代码片段和文件信息

package com.tedu.controller;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.tedu.pojo.Door;
import com.tedu.service.DoorServiceImpl;

@Controller
public class DoorController {
@Autowired
DoorServiceImpl doorServiceImpl;

@RequestMapping(“/doorList“)
public String doorList(Model model) {
List list = doorServiceImpl.findAll();
model.addAttribute(“doorList“ list);
return “door_list“;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-02-26 11:28  简单SSM项目\
     文件        2707  2019-02-23 00:29  简单SSM项目\SQL脚本.txt
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\
     文件        1513  2019-02-23 11:55  简单SSM项目\yonghe01-ssm\.classpath
     文件        1088  2019-02-23 09:27  简单SSM项目\yonghe01-ssm\.project
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\.settings\
     文件         639  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\.jsdtscope
     文件         430  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.jdt.core.prefs
     文件          90  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.m2e.core.prefs
     文件         692  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.wst.common.component
     文件         252  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.wst.jsdt.ui.superType.name
     文件          50  2019-02-23 09:13  简单SSM项目\yonghe01-ssm\.settings\org.eclipse.wst.validation.prefs
     文件        3144  2019-02-23 11:55  简单SSM项目\yonghe01-ssm\pom.xml
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\java\
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\java\com\
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\controller\
     文件        1679  2019-02-25 10:34  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\controller\DoorController.java
     文件        2450  2019-02-26 10:49  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\controller\OrderController.java
     文件         443  2019-02-25 10:34  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\controller\PageController.java
     文件         442  2019-02-23 09:43  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\controller\TestSpring.java
     文件         312  2019-02-23 10:31  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\controller\TestSpringMvc.java
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\dao\
     文件         541  2019-02-23 17:10  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\dao\DoorMapper.java
     文件         526  2019-02-25 09:41  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\dao\OrderMapper.java
     目录           0  2019-02-26 11:27  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\pojo\
     文件         778  2019-02-23 10:57  简单SSM项目\yonghe01-ssm\src\main\java\com\tedu\pojo\Door.java
............此处省略102个文件信息

评论

共有 条评论