Detail
- Eclips kapler
- Springframwork 4.1.0.RELEASE
- Serveur Jetty
Creation d'un projet maven
Codes
pom.xml
HelloController.java
Créer une nouvelle class java, dans un package "org.r2b.mg.controller", avec le nom "HelloController", et copiez ce code dedans
application-context.xml
Fichier de configuration spring mvc.
web.xml
La structure final du projet est comme suit :