Move adsal into its own subdirectory.
[controller.git] / opendaylight / adsal / web / flows / src / main / resources / WEB-INF / jsp / error.jsp
diff --git a/opendaylight/adsal/web/flows/src/main/resources/WEB-INF/jsp/error.jsp b/opendaylight/adsal/web/flows/src/main/resources/WEB-INF/jsp/error.jsp
new file mode 100644 (file)
index 0000000..270d793
--- /dev/null
@@ -0,0 +1,8 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+<c:set var="req" value="${pageContext.request}" />
+<c:set var="uri" value="${req.requestURI}" />
+<c:set var="replaceWith" value="/" />
+<c:set var="redirectUrl" value="${fn:replace(req.requestURL, req.contextPath , replaceWith)}" />
+<c:import url="${redirectUrl}" />
\ No newline at end of file