Skip to content

Instantly share code, notes, and snippets.

@bytestree bytestree/home.jsp
Created Apr 24, 2016

Embed
What would you like to do?
<%@ 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
You can’t perform that action at this time.