GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fr4nkyang/spring-mvc-mini: 一个完整的,轻量的Spring MVC项目, mini and easy to learn

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
resources
resources
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

我叫Jerry, 本科毕业于2009年,而后开发和维护Nokia NetAct系统至2016年7月。

我于2016年8月8日起开始在,USC 美国南加州大学攻读 计算机科学 硕士学位。

My Linkedin: (https://www.linkedin.com/in/hot13399).

Spring-mvc-mini是一个完整的,轻量、简单的Java项目,适合于初学者学习Spring MVC. 里面有基本的增删改查的功能。无需修改任何内容,就可以直接跑起来。 下面是Spring MVC的Guide页面,这个项目很多是基于它编写的。

http://spring.io/guides


在这个项目里主要实现了以下技术:

  • spring-webmvc
  • svnkit
  • jgit
  • javax.mail
  • jasypt
  • dom4j
  • spring scheduler

如何运行:

在Windows的CMD:

$ cd spring-mvc-mini
$ mvn tomcat7:run [-Dmaven.tomcat.port=<port no.>] (In case 8080 is busy] 

通过浏览器打开:http://localhost:8080/spring-mvc-mini

如果你想要学习或贡献和这个项目:

就通过maven把它build成一个IDE项目,执行以下命令,打开CMD:

$ cd spring-mvc-mini
$ mvn eclipse:eclipse or mvn idea:idea

通过Eclipse或IDEA导入即可。

Note:

如果你要在Linux环境运行,以下的文件需要修改。

$ spring-oss-mini\src\main\webapp\WEB-INF\spring\appServlet\servlet-context.xml:
  <context:property-placeholder location="file:/opt/web/spring-mvc-mini/resources/application.properties"/>
$ spring-oss-mini\src\main\resources\logback.xml
$ spring-oss-mini\resources\application.properties

最后通过Maven build一个war包部署即可。


Spring-mvc-mini is a mini project using Spring MVC.

In this project, you can see the code of:

  • spring-webmvc
  • svnkit
  • javax.mail
  • jasypt
  • dom4j
  • spring scheduler

To run the application: From the command line with Maven: $ cd spring-mvc-mini $ mvn tomcat7:run [-Dmaven.tomcat.port=] (In case 8080 is busy]

Access the deployed web application at: http://localhost:8080/spring-mvc-mini

To contribute to this project: In your preferred IDE such as Eclipse: $ cd spring-mvc-mini $ mvn eclipse:eclipse

Import spring-mvc-mini as a Maven Project

If you want to deploy this project to Linux server, you might need to edit conf files:

$ spring-oss-mini\src\main\webapp\WEB-INF\spring\appServlet\servlet-context.xml:
	<context:property-placeholder location="file:/opt/web/spring-mvc-mini/resources/application.properties"/>
$ spring-oss-mini\src\main\resources\logback.xml
$ spring-oss-mini\resources\application.properties

About

一个完整的,轻量的Spring MVC项目, mini and easy to learn

spring.io/guides

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.