summaryrefslogtreecommitdiffstats
path: root/warehouse/src/main/webapp/WEB-INF/pages/skip.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'warehouse/src/main/webapp/WEB-INF/pages/skip.jsp')
-rw-r--r--warehouse/src/main/webapp/WEB-INF/pages/skip.jsp31
1 files changed, 31 insertions, 0 deletions
diff --git a/warehouse/src/main/webapp/WEB-INF/pages/skip.jsp b/warehouse/src/main/webapp/WEB-INF/pages/skip.jsp
new file mode 100644
index 0000000..fd2c713
--- /dev/null
+++ b/warehouse/src/main/webapp/WEB-INF/pages/skip.jsp
@@ -0,0 +1,31 @@
+<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
+<%
+String path = request.getContextPath();
+String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
+String params = request.getQueryString();
+%>
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+<input type="hidden" id="params" value="<%=params%>"/>
+<script src="<%=basePath%>/js/jquery/jquery.min.js"></script>
+<script src="<%=basePath%>/js/jquery/easing/jquery.easing.min.js"></script>
+</body>
+</html>
+<script>
+$(function(){
+ debugger;
+ var param = $('#params').val();
+
+ if(param == "null"){
+ window.location.href="<%=basePath%>/main";
+ }else{
+ window.location.href="<%=basePath%>/mainDev?" + param;
+ }
+});
+</script> \ No newline at end of file