bonjour,
je veux utiliser les tiles avec spring mvc dans ma jsp j'ai utilise un c foreach mais son contenu est non visible avec l'utilisation des tiles
Spring.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <bean class="org.springframework.js.ajax.AjaxUrlBasedViewResolver" id="tilesViewResolver" p:order="0"> <property name="viewClass" value="org.springframework.js.ajax.tiles2.AjaxTilesView"/> </bean> <bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"> <property name="definitions" value="/WEB-INF/tiles/tiles.xml"> </property> </bean>
ma jsp est
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <c:forEach var="p" items="${publications}"> <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12" id="publicationShow" > <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12" id="publication" > <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12" id="publicationHead"> <div class="col-md-8 col-lg-8 col-sm-8 col-xs-8" style="display:flex;"> <img class="imageProfil-video-post-show" src="${resources}${p.member.userPhoto}"> <label id="prenom-video-post-show" class="prenom-video-post-show" name="firstName"> ${p.member.firstName}</label> <label class=" nom-video-post-show " name="lastName">${p.member.lastName}</label> <label class="date-video-post-show"><abbr class="timeago" title="${p.publicationDate}"></abbr> </label> </div> </c:forEach>
j'ai rien afficher lors que j'execute
merci pour votre aide
Partager