• 大小: 5.73MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-28
  • 语言: 其他
  • 标签: springmvc  demo  spring  mvc  

资源简介

这是一个完整而可运行的springmvcDemo,简单的配置,适合所有想入门的新手参阅。

资源截图

代码片段和文件信息

package springmvcdemo.web.controller;

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

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

public class HelloWorldController implements Controller {

@Override
public ModelAndView handleRequest(HttpServletRequest arg0
HttpServletResponse arg1) throws Exception {
System.out.println(“==========Hello World! Welcome to springMVC Demo!==========“);
return new ModelAndView(“/index“);
}

}

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

     文件        840  2014-02-17 13:35  springmvcDemo\.classpath

     文件       1046  2014-02-17 13:35  springmvcDemo\.project

     文件        503  2014-02-17 13:35  springmvcDemo\.settings\.jsdtscope

     文件         81  2014-02-17 14:39  springmvcDemo\.settings\org.eclipse.core.resources.prefs

     文件        364  2014-02-17 13:35  springmvcDemo\.settings\org.eclipse.jdt.core.prefs

     文件        493  2014-02-17 13:35  springmvcDemo\.settings\org.eclipse.wst.common.component

     文件        349  2014-02-17 13:35  springmvcDemo\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2014-02-17 13:35  springmvcDemo\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2014-02-17 13:35  springmvcDemo\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1056  2014-02-17 15:09  springmvcDemo\build\classes\springmvcdemo\web\controller\HelloWorldController.class

     文件        564  2014-02-17 15:09  springmvcDemo\src\springmvcdemo\web\controller\HelloWorldController.java

     文件         39  2014-02-17 13:35  springmvcDemo\WebContent\meta-INF\MANIFEST.MF

     文件        476  2014-02-17 14:40  springmvcDemo\WebContent\WEB-INF\jsp\index.jsp

     文件      60841  2013-01-27 10:05  springmvcDemo\WebContent\WEB-INF\lib\commons-logging.jar

     文件      16905  2013-01-27 10:57  springmvcDemo\WebContent\WEB-INF\lib\jstl.jar

     文件     335455  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-aop-3.2.4.RELEASE.jar

     文件      51132  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-aspects-3.2.4.RELEASE.jar

     文件     607755  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-beans-3.2.4.RELEASE.jar

     文件      72918  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-build-src-3.2.4.RELEASE.jar

     文件     863688  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-context-3.2.4.RELEASE.jar

     文件     127726  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-context-support-3.2.4.RELEASE.jar

     文件     869674  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-core-3.2.4.RELEASE.jar

     文件     196807  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-expression-3.2.4.RELEASE.jar

     文件       7235  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-instrument-3.2.4.RELEASE.jar

     文件      10351  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-instrument-tomcat-3.2.4.RELEASE.jar

     文件     405158  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-jdbc-3.2.4.RELEASE.jar

     文件     205494  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-jms-3.2.4.RELEASE.jar

     文件     386896  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-orm-3.2.4.RELEASE.jar

     文件      73892  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-oxm-3.2.4.RELEASE.jar

     文件      36169  2013-08-06 15:46  springmvcDemo\WebContent\WEB-INF\lib\spring-struts-3.2.4.RELEASE.jar

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

评论

共有 条评论