• 大小: 18.86M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-19
  • 语言: Java
  • 标签: SSM整合  实例  

资源简介

ssm maven自动部署

资源截图

代码片段和文件信息

package com.stx.controller;

import com.stx.model.Userw;
import com.stx.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

@Controller
public class UserController {
    @Autowired
    private UserService userService;

    @RequestMapping(“/list“)
    public ModelAndView getAll() {
        ModelAndView mv = new ModelAndView(“list“);
        List all = userService.

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-03-12 14:59  .idea\
     目录           0  2020-03-12 12:05  .idea\artifacts\
     文件        3156  2020-03-12 12:05  .idea\artifacts\SSM_work_war_exploded.xml
     文件         541  2020-03-12 12:20  .idea\compiler.xml
     文件        1116  2020-03-12 10:52  .idea\dataSources.local.xml
     文件         649  2020-03-12 10:41  .idea\dataSources.xml
     目录           0  2020-03-12 10:41  .idea\dataSources\
     文件     1283811  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12.xml
     目录           0  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12\
     目录           0  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12\storage_v2\
     目录           0  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12\storage_v2\_src_\
     目录           0  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12\storage_v2\_src_\schema\
     文件          73  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12\storage_v2\_src_\schema\PUBLIC.aaZQjQ.meta
     文件          77  2020-03-12 10:41  .idea\dataSources\1af91f1e-81c3-4b65-8045-a0ce32d2cc12\storage_v2\_src_\schema\SHUANGTIXI.QKhxXA.meta
     文件         177  2020-03-12 01:23  .idea\encodings.xml
     目录           0  2020-03-12 13:30  .idea\inspectionProfiles\
     文件         548  2020-03-12 13:30  .idea\inspectionProfiles\Project_Default.xml
     文件         212  2020-03-12 13:04  .idea\jsLibraryMappings.xml
     目录           0  2020-03-12 10:52  .idea\libraries\
     文件         302  2020-03-12 10:52  .idea\libraries\lib.xml
     文件         656  2020-03-12 01:23  .idea\misc.xml
     文件         281  2020-03-12 10:52  .idea\sqldialects.xml
     文件        8915  2020-03-12 10:52  .idea\uiDesigner.xml
     文件       10145  2020-03-12 14:59  .idea\workspace.xml
     目录           0  2020-03-12 14:59  out\
     目录           0  2020-03-12 14:59  out\artifacts\
     目录           0  2020-03-12 14:59  out\artifacts\SSM_work_war_exploded\
     文件         171  2020-03-12 11:56  out\artifacts\SSM_work_war_exploded\index.jsp
     目录           0  2020-03-12 14:59  out\artifacts\SSM_work_war_exploded\meta-INF\
     文件          99  2020-03-12 14:59  out\artifacts\SSM_work_war_exploded\meta-INF\MANIFEST.MF
     目录           0  2020-03-12 14:59  out\artifacts\SSM_work_war_exploded\Static-Resources\
............此处省略366个文件信息

评论

共有 条评论