File: deferredView.jsp

package info (click to toggle)
eclipse-platform-ua 4.26-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,684 kB
  • sloc: java: 101,173; xml: 53,027; javascript: 4,902; jsp: 4,210; makefile: 5
file content (45 lines) | stat: -rw-r--r-- 1,252 bytes parent folder | download | duplicates (4)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<%--
 Copyright (c) 2006, 2018 IBM Corporation and others.

 This program and the accompanying materials 
 are made available under the terms of the Eclipse Public License 2.0
 which accompanies this distribution, and is available at
 https://www.eclipse.org/legal/epl-2.0/

 SPDX-License-Identifier: EPL-2.0
 
 Contributors:
     IBM Corporation - initial API and implementation
--%>
<%@ include file="header.jsp"%>

<% 
	RequestData data = new RequestData(application, request, response);
	WebappPreferences prefs = data.getPrefs();
	
	String baseURL = request.getRequestURL().toString();
	baseURL = baseURL.substring(0,baseURL.lastIndexOf("/")+1);
	
	String href = baseURL+request.getParameter("href");
%>

<html lang="<%=ServletResources.getString("locale", request)%>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><%=ServletResources.getString("Loading", request)%></title>

<script type="text/javascript">
	function onloadHandler() { 
		location.href="<%=UrlUtil.JavaScriptEncode(href)%>";
	}
</script>

<style type="text/css">
	<%@ include file="deferredView.css"%>
</style> 
</head>

<body dir="<%=direction%>" onload="onloadHandler()">
	<%=ServletResources.getString("Loading", request)%>
</body>
</html>