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=a532560bcde4b3166cf42c7f7bc8e62fc83ef068;hp=ceb462daff9cd38b5aee6aa107df75c394ef604a;hb=24e6b66c28a9d26e18b805138d808069283dc3b8;hpb=53c4c25db41a16aa3d820e50657e143cbc177c8c 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..a532560bcd 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,163 +5,190 @@ - 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 { + %> + + + + + + <% + } + %> - \ No newline at end of file +