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 if (session != null) session.invalidate();
19 String filePath = "/WEB-INF/jsp/customerror.jsp";
20 URL fileURL = pageContext.getServletContext().getResource(filePath);
23 <jsp:include page="<%=filePath%>" flush="true"/>
25 <title>${title}</title>
26 <!-- Bootstrap JS - 1 -->
27 <script src="/js/bootstrap.min.js"></script>
30 <script type="text/javascript">
35 <script src="/js/less-1.3.3.min.js"></script>
38 <form action="<c:url value='/' />" id="form" method="post">
40 <div class="container">
42 <div class="login-form">
45 <p>You are not authorized to access this resource.<p>
46 <p>Please contact your administrator to resolve your Role privileges.</p>
48 <button class="btn btn-primary" type="submit" value="Log In" >Go To Login Page</button>