Created
April 24, 2016 11:55
-
-
Save bytestree/39a3572417e2f25f94bb607ea8d433d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> | |
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
<%@page session="false"%> | |
<html> | |
<body> | |
<h1>Home Page</h1> | |
<h2>${message}</h2> | |
<a href='<c:url value="/admin" />'>Admin Page</a> | |
<br><br> | |
<form:form action="logout"> | |
<div> | |
<button type="submit">Logout</button> | |
</div> | |
</form:form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment