Mise en place de Maverick
Fichier maverick.xml :
<?xml version="1.0" encoding="UTF-8"?>
<maverick version="2.0" default-view-type="document" default-transform-
type="document">
<views>
<view id="test" path="test.jsp" />
<view id="test2" path="test2.jsp" />
</views>
<commands>
<command name="identifier">
<controller class="controller.IdentificationController" />
<view name="utilisateur" path="accueil.jsp">
<transform path="generalInterieur.jsp" />
</view>
<view name="administrateur" path="accueilAdmin.jsp">
<transform path="adminInterieur.jsp" />
</view>
<view name="error" path="erreur.jsp">
<transform path="generalExterieur.jsp" />
</view>
</command>
</commands>