summaryrefslogtreecommitdiffstats
path: root/warehouse/src/main/webapp/WEB-INF/pages/skip.jsp
blob: fd2c713bf1a862e1de24d38a1b3c94c6327e59b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>