%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="model.*"%> <%@ page import="java.util.List"%> <% List roles = (List)request.getAttribute("roles"); List resources = (List)request.getAttribute("resources"); User user = (User) request.getAttribute("User"); Access a = (Access) request.getAttribute("access"); %> Edit an Access - Hotel Services Hotel Services <%= user.getName()%> arrow_drop_down Log Out arrow_drop_up GitHub icon Roles Users Resources Access | Services | Show Services Roles Users Resources Access Edit an Access New Role: Choose a Role <% if (roles.size() > 0) { %> <% for (Role r: roles) { %> <%= r.getName() %> <% } %> <% } else { %> There are no Roles. <% } %> New Resource: Choose a Resource <% if (resources.size() > 0) { %> <% for (Resource res: resources) { %> <%= res.getUrl() %> <% } %> <% } else { %> There are no Access. <% } %> Edit send