<%@ page import="model.User" %> <%@ page import="model.Service" %> <%-- Created by IntelliJ IDEA. User: Fernando Date: 07/06/2018 Time: 16:39 To change this template use File | Settings | File Templates. --%> <% Service service = (Service) request.getAttribute("Service"); User usuario = (User) request.getAttribute("User"); boolean editAllowed = (Boolean) request.getAttribute("editAllowed"); String action = (String) request.getAttribute("action");%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%=action%> a Service - Hotel Services

<%=action%> un Servicio

<% if (editAllowed) {%>
Nombre del Servicio:

Precio del Servicio:

Descripción del Servicio:

<% } else {%>
Nombre: <%= service.getName() %>
Precio: <%= service.getPrice() %>
Descripción: <%= service.getDescription() %>
Creado por: <%= service.getCreatorUserName() %>
<% } %>

arrow_backVolver