<%@ page import="model.Resource" %> <%@ page import="model.User" %> <%@ page import="java.util.List" %> <%-- Created by IntelliJ IDEA. User: Jose Date: 07/06/2018 Time: 16:39 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <% User usuario = (User) request.getAttribute("User"); List resourceList = (List) request.getAttribute("ResourceList"); String serverResponse = (String) request.getAttribute("serverResponse"); if (serverResponse == null) serverResponse = "!"; %> Recursos - Hotel Services

Recursos

<%if (!serverResponse.equals("!")){ %>
<% } %>

addCreate

<% for (int i = 0; i < resourceList.size(); i++) {%> <% Resource resource = resourceList.get(i); %> <% String key = resource.getKey(); String[] arr = key.split(""); key = ""; for (String a : arr) { if (a.equals("\"")){ key += """; } else{ key += a; } } %> <% } %>
URI Estado Fecha de creación Acciones
<%= resource.getUrl()%> <%= resource.getStatus()%> <%= resource.getCreateDate()%> Ver | Editar | Eliminar