Blame view

src/main/webapp/WEB-INF/pages/viewUsers.jsp 1.01 KB
aa193b2b   Julien Iguchi-Cartigny   First version
1
2
3
  <%@ page contentType="text/html" pageEncoding="UTF-8" %>
  <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
  <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
a8656157   Julien Cartigny   Support for boots...
4
  <jsp:include page="header.jsp"/>
aa193b2b   Julien Iguchi-Cartigny   First version
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
          <h1><spring:message code="view.users.main.header"/></h1>
  
          <h4><spring:message code="view.users.greetings"/> ${userSession.username} !</h4>
  
          <table>
              <thead>
                  <tr>
                      <td><spring:message code="domain.user.username"/></td>
                  </tr>
              </thead>
              <tbody>
                  <c:forEach items="${users}" var="user">
                      <tr>
                          <td>${user.username}</td>
                      </tr>
                  </c:forEach>
              </tbody>
          </table>
  
      <ul>
          <li><a href="newUser"><spring:message code="new.user.main.header"/></a></li>
322c9502   Julien Cartigny   Ad Spring securit...
26
          <li><a href="login?logout"><spring:message code="view.users.main.logout"/></a></li>
aa193b2b   Julien Iguchi-Cartigny   First version
27
28
      </ul>
  
a8656157   Julien Cartigny   Support for boots...
29
  <jsp:include page="footer.jsp"/>