1 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 <%@ page import="java.net.URL" %>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
10 <!-- Bootstrap CSS - 1 -->
11 <link href="/css/bootstrap.min.css" rel="stylesheet" media="screen">
13 <!-- Login CSS - 2 -->
14 <link rel="stylesheet/less" type="text/css" href="/css/login.less">
16 <c:set var="title" value="OpenDaylight login error" scope="application"/>
18 String filePath = "/WEB-INF/jsp/customerror.jsp";
19 URL fileURL = pageContext.getServletContext().getResource(filePath);
22 <jsp:include page="<%=filePath%>" flush="true"/>
24 <title>${title}</title>
25 <!-- Bootstrap JS - 1 -->
26 <script src="/js/bootstrap.min.js"></script>
29 <script type="text/javascript">
34 <script src="/js/less-1.3.3.min.js"></script>
37 <form action="<c:url value='/' />" id="form" method="post">
39 <div class="container">
41 <div class="login-form">
44 <p>You are not authorized to access this resource.<p>
45 <p>Please contact your administrator to resolve your Role privileges.</p>
47 <button class="btn btn-primary" type="submit" value="Log In" >Go To Login Page</button>
53 <% if (session != null) session.invalidate(); %>