├── .gitignore ├── README ├── pom.xml └── src ├── main ├── java │ └── net │ │ └── exacode │ │ └── bootstrap │ │ └── web │ │ ├── controller │ │ ├── GreetingsController.java │ │ ├── HelloWorldController.java │ │ └── UserServiceController.java │ │ └── model │ │ └── User.java ├── resources │ ├── applicationContext.xml │ ├── i18n │ │ ├── messages_en.properties │ │ └── messages_pl.properties │ └── logback.xml └── webapp │ ├── WEB-INF │ ├── springDispatcher-servlet.xml │ ├── velocity │ │ ├── layout │ │ │ ├── footer.vm │ │ │ ├── header.vm │ │ │ └── main.vm │ │ ├── templates │ │ │ ├── greetings.vm │ │ │ ├── hello-world.vm │ │ │ └── hello.vm │ │ └── velocity.properties │ └── web.xml │ ├── index.jsp │ └── resources │ ├── css │ ├── reset.css │ └── style.css │ └── img │ ├── accept.png │ └── ajax-loader.gif └── test ├── java └── net │ └── exacode │ └── bootstrap │ └── web │ ├── TestBase.java │ └── controller │ └── GreetingControllerTest.java └── resources └── test-applicationContext.xml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/.gitignore -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/README -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/net/exacode/bootstrap/web/controller/GreetingsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/java/net/exacode/bootstrap/web/controller/GreetingsController.java -------------------------------------------------------------------------------- /src/main/java/net/exacode/bootstrap/web/controller/HelloWorldController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/java/net/exacode/bootstrap/web/controller/HelloWorldController.java -------------------------------------------------------------------------------- /src/main/java/net/exacode/bootstrap/web/controller/UserServiceController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/java/net/exacode/bootstrap/web/controller/UserServiceController.java -------------------------------------------------------------------------------- /src/main/java/net/exacode/bootstrap/web/model/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/java/net/exacode/bootstrap/web/model/User.java -------------------------------------------------------------------------------- /src/main/resources/applicationContext.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/resources/applicationContext.xml -------------------------------------------------------------------------------- /src/main/resources/i18n/messages_en.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/resources/i18n/messages_en.properties -------------------------------------------------------------------------------- /src/main/resources/i18n/messages_pl.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/resources/i18n/messages_pl.properties -------------------------------------------------------------------------------- /src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/resources/logback.xml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/springDispatcher-servlet.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/springDispatcher-servlet.xml -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/layout/footer.vm: -------------------------------------------------------------------------------- 1 | Copyrights 2012 -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/layout/header.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/velocity/layout/header.vm -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/layout/main.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/velocity/layout/main.vm -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/templates/greetings.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/velocity/templates/greetings.vm -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/templates/hello-world.vm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/velocity/templates/hello-world.vm -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/templates/hello.vm: -------------------------------------------------------------------------------- 1 | #define($content) 2 | #springMessage("Hello") 3 | #end -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/velocity/velocity.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/velocity/velocity.properties -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/WEB-INF/web.xml -------------------------------------------------------------------------------- /src/main/webapp/index.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/index.jsp -------------------------------------------------------------------------------- /src/main/webapp/resources/css/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/resources/css/reset.css -------------------------------------------------------------------------------- /src/main/webapp/resources/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/resources/css/style.css -------------------------------------------------------------------------------- /src/main/webapp/resources/img/accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/resources/img/accept.png -------------------------------------------------------------------------------- /src/main/webapp/resources/img/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/main/webapp/resources/img/ajax-loader.gif -------------------------------------------------------------------------------- /src/test/java/net/exacode/bootstrap/web/TestBase.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/test/java/net/exacode/bootstrap/web/TestBase.java -------------------------------------------------------------------------------- /src/test/java/net/exacode/bootstrap/web/controller/GreetingControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/test/java/net/exacode/bootstrap/web/controller/GreetingControllerTest.java -------------------------------------------------------------------------------- /src/test/resources/test-applicationContext.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zaric/example-spring-mvc-velocity/HEAD/src/test/resources/test-applicationContext.xml --------------------------------------------------------------------------------