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" scope="application"/>
18 String filePath = "/WEB-INF/jsp/customlogin.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='j_security_check' />" id="form" method="post">
39 <div class="container">
41 <div class="login-form">
44 <div class="control-group">
45 <input type="text" name="j_username" placeholder="Username">
47 <div class="control-group">
48 <input type="password" name="j_password" placeholder="Password">
50 <button class="btn btn-primary" type="submit" value="Log In" ><div class="icon-login"></div> Log In</button>