<%@ page import="model.User" %> <%@ page import="model.Role" %> <%@ page import="java.util.List" %> <% User usuario = (User) request.getAttribute("User"); List roleList = (List) request.getAttribute("RoleList"); String serverResponse = (String) request.getAttribute("serverResponse"); if (serverResponse == null) serverResponse = "!"; %> Home - Hotel Service

Area de Empleados - Roles

<%if (!serverResponse.equals("!")){ %>
<% } %>
Bienvenido, <%= usuario.getName()%>
addCreate
<% for (int i = 0; i < roleList.size(); i++) {%> <% Role roleKey = roleList.get(i); %> <% String key = roleKey.getKey(); String[] arr = key.split(""); key = ""; for (String a : arr) { if (a.equals("\"")){ key += """; } else{ key += a; } } %> <% } %>
Name Status Date created Actions
<%= roleKey.getName()%> <%= roleKey.getStatus()%> <%= roleKey.getCreateDate()%> View | Edit | Delete
Roles - Hotel Services

Roles

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

addCreate

<% for (int i = 0; i < roleList.size(); i++) {%> <% Role roleKey = roleList.get(i); %> <% String key = roleKey.getKey(); String[] arr = key.split(""); key = ""; for (String a : arr) { if (a.equals("\"")){ key += """; } else{ key += a; } } %> <% } %>
Name Status Date created Actions
<%= roleKey.getName()%> <%= roleKey.getStatus()%> <%= roleKey.getCreateDate()%> View | Edit | Delete