Add a view to show user recommendations.

This commit is contained in:
Camille31
2016-11-28 23:59:51 +01:00
parent 3afd36cb06
commit fb23a16374
2 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Recommandations</title>
</head>
<body>
<h1>
Vos recommandations
</h1>
<ul>
<c:forEach items="${recommendations}" var="recommendation">
<li>
${recommendation.getMovie().title}
</li>
</c:forEach>
</ul>
</body>
</html>