<%--
  Created by IntelliJ IDEA.
  User: codecadet
  Date: 05/12/2017
  Time: 12:06
  To change this template use File | Settings | File Templates.
--%>
<%--<%@ page import="org.academiadecodigo.enuminatti.helloworld.models.User" %>--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<% User user = (User) request.getAttribute("user"); %>--%>
<%--<% session.setAttribute("title", "Welcome, " + user.getName()); %>--%>
<% session.setAttribute("title", "Welcome, ${user.name}"); %>
<%@ include file="head.jsp" %>
<body>
    <%--<h1>Hello there, <%= user.getName() %> </h1>--%>
    <h1>Hello there, ${sessionScope["user"].name} ${user.name} </h1>
    <p>${header["user-agent"]}</p>
