• 大小: 11KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-09
  • 语言: 其他
  • 标签: maven  SpingMVC  

资源简介

SpingMVC搭建maven项目,SSM(Spring+SpringMVC+MyBatis) 框架集由Spring、SpringMVC、MyBatis三个开源框架整合而成,常作为数据源较简单的web项目的框架。具体讲解在:SSM框架(一) 基于eclipseJee搭建SpingMVC框架:https://blog.csdn.net/cungudafa/article/details/90204469

资源截图

代码片段和文件信息

package com.cungudafa.spingmvc01.controller;

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

/*
 * 一个控制器
 * @author Administrator 
 * 
 */
@Controller
@RequestMapping(“/user“)
public class UserInfoController {

@RequestMapping(value=“/index.do“)
public String userIndex(String unameString upwd){
System.out.println(“添加操作的业务逻辑:“+uname+“ “+upwd);
return “success“;
}
}

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

     文件       1489  2019-05-17 12:20  SpingMVC01\.classpath

     文件       1086  2019-05-17 12:20  SpingMVC01\.project

     文件        639  2019-05-17 12:20  SpingMVC01\.settings\.jsdtscope

     文件        478  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.jdt.core.prefs

     文件         90  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.m2e.core.prefs

     文件        671  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.wst.common.component

     文件        252  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件         50  2019-05-17 12:20  SpingMVC01\.settings\org.eclipse.wst.validation.prefs

     文件       4124  2019-05-17 12:20  SpingMVC01\pom.xml

     文件        491  2019-05-17 12:20  SpingMVC01\src\main\java\com\cungudafa\spingmvc01\controller\UserInfoController.java

     文件       1512  2019-05-17 12:20  SpingMVC01\src\main\resources\config\spring-mvc.xml

     文件        449  2019-05-17 12:20  SpingMVC01\src\main\webapp\index.jsp

     文件        420  2019-05-17 12:20  SpingMVC01\src\main\webapp\WEB-INF\success.jsp

     文件       1086  2019-05-17 12:20  SpingMVC01\src\main\webapp\WEB-INF\web.xml

     文件       1112  2019-05-17 12:20  SpingMVC01\target\classes\com\cungudafa\spingmvc01\controller\UserInfoController.class

     文件       1512  2019-05-17 12:20  SpingMVC01\target\classes\config\spring-mvc.xml

     文件        107  2019-05-17 12:20  SpingMVC01\target\m2e-wtp\web-resources\meta-INF\MANIFEST.MF

     文件        249  2019-05-17 12:20  SpingMVC01\target\m2e-wtp\web-resources\meta-INF\maven\com.wang.spingmvc\SpingMVC01\pom.properties

     文件       4124  2019-05-17 12:20  SpingMVC01\target\m2e-wtp\web-resources\meta-INF\maven\com.wang.spingmvc\SpingMVC01\pom.xml

     目录          0  2019-05-17 12:20  SpingMVC01\src\main\java\com\cungudafa\spingmvc01\controller

     目录          0  2019-05-17 12:20  SpingMVC01\target\m2e-wtp\web-resources\meta-INF\maven\com.wang.spingmvc\SpingMVC01

     目录          0  2019-05-17 12:20  SpingMVC01\src\main\java\com\cungudafa\spingmvc01

     目录          0  2019-05-17 12:20  SpingMVC01\target\classes\com\cungudafa\spingmvc01\controller

     目录          0  2019-05-17 12:20  SpingMVC01\target\m2e-wtp\web-resources\meta-INF\maven\com.wang.spingmvc

     目录          0  2019-05-17 12:20  SpingMVC01\src\main\java\com\cungudafa

     目录          0  2019-05-17 12:20  SpingMVC01\target\classes\com\cungudafa\spingmvc01

     目录          0  2019-05-17 12:20  SpingMVC01\target\m2e-wtp\web-resources\meta-INF\maven

     目录          0  2019-05-17 12:20  SpingMVC01\src\main\java\com

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

评论

共有 条评论