Skip to content

Instantly share code, notes, and snippets.

@MafaldaLandeiro
Created March 31, 2016 22:13
Show Gist options
  • Select an option

  • Save MafaldaLandeiro/b4ce1c518e41cf9feafe9487c02e8d0b to your computer and use it in GitHub Desktop.

Select an option

Save MafaldaLandeiro/b4ce1c518e41cf9feafe9487c02e8d0b to your computer and use it in GitHub Desktop.
Index page
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome page</title>
</head>
<body>
<h1>Greeting : ${greeting}</h1>
<ul>
<li><a href="${pageContext.request.contextPath}/login">Login</a></li>
<li><a href="${pageContext.request.contextPath}/admin">Admin</a></li>
<li><a href="${pageContext.request.contextPath}/db">DB</a></li>
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment