Академический Документы
Профессиональный Документы
Культура Документы
U: 2020/2021
3ème GCR
TP1 SpringMVC
On désire développer, avec SpringMVC, une application Web de gestion des projets d’une
entreprise. Cette entreprise est organisée sous forme des départements.
Page 1 / 2
Le mapping handler:
Mapped => {[/home], methods=[GET] }
Mapped => {[/employes/dept/{num}], methods=[GET] }
Mapped => {[/projets/{num}], methods=[GET] }
Mapped => {[/employes/proj/{num}], methods=[GET] }
Mapped => {[/ajoutProjet], methods=[GET] }
Mapped => {[/saveEmploye], methods=[POST] }
Mapped => {[/ajoutEmploye], methods=[GET] }
Mapped => {[/saveProjet], methods=[POST] }
Figure1 Figure2
Figure3 Figure4
Figure5 Figure6
Notes:
Pour ajouter un context à un lien : <c:set var="cxt" value="${pageContext.request.contextPath}" />
<a href="${cxt}/home">Liste des départements</a>
Page 2 / 2