Newer
Older
jetty / src / main / webapp / protected / welcome.jsp
Mark George on 29 Oct 2021 707 bytes Various improvements
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% String ctx = request.getContextPath(); %>

<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="<%= ctx %>/css/style.css"/>
		<title>Awesome Web Site</title>
	</head>

	<body>

		<main>

			<%@include file="/WEB-INF/jspf/menu.jspf" %>

			<% String name = (String) session.getAttribute("name");%>

			<h1>Welcome back <%=name%></h1>

			<div id="images">
				<img width="250" src="<%= ctx %>/protected/fake-cat.png" alt="Image of cat"/> <img width="250" src="<%= ctx %>/protected/fake-dog.png" alt="Image of dog"/>
			</div>

		</main>
	</body>
</html>