X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fweb%2Froot%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fjsp%2Fmain.jsp;h=a3d9dcff638cfba6318b0c59e7cba22551af2b7a;hp=ceb462daff9cd38b5aee6aa107df75c394ef604a;hb=3591b13ae3e6f237db9e4b63cb3b07e020f576ca;hpb=b4909e4603dc3989463e1a0d86b6007219eb472f diff --git a/opendaylight/web/root/src/main/resources/WEB-INF/jsp/main.jsp b/opendaylight/web/root/src/main/resources/WEB-INF/jsp/main.jsp index ceb462daff..a3d9dcff63 100644 --- a/opendaylight/web/root/src/main/resources/WEB-INF/jsp/main.jsp +++ b/opendaylight/web/root/src/main/resources/WEB-INF/jsp/main.jsp @@ -5,162 +5,187 @@ - terms of the Eclipse Public License v1.0 which accompanies this distribution, - and is available at http://www.eclipse.org/legal/epl-v10.html --%> -<%@ page import="java.net.URL" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ page import="java.net.URL"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> - + - - + + - - + + - - + + -<% - String filePath = "/WEB-INF/jsp/custommain.jsp"; +<% + String filePath = "/WEB-INF/jsp/custommain.jsp"; URL fileURL = pageContext.getServletContext().getResource(filePath); - if(fileURL!=null) { + if (fileURL != null) { %> - -<% } %> - - ${name} - - - - - - - - - - - - + +<% + } +%> + +${name} + + + + + + + + + + + + - - - - - - - -
- - -
- - -
- -
- -
-
-
- -
- - -
- -
- -
-
-
- -
- -
- - - - -
- - - - - - - - - - + + + + + + + + + +
+ + +
+ + +
+ +
+ +
+
+ +
+ + + +
+ +
+ +
+
+ +
+ + +
+ + + + + + +
+ + + + + + + + + <% + String jsPath = "/WEB-INF/jsp/customjs.jsp"; + URL jsURL = pageContext.getServletContext().getResource(jsPath); + if (jsURL != null) { + %> + + <% + } else { + %> + + + + + + <% + } + %>