Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help.webapp')
-rw-r--r--org.eclipse.help.webapp/advanced/index.jsp3
-rw-r--r--org.eclipse.help.webapp/index.jsp5
2 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.help.webapp/advanced/index.jsp b/org.eclipse.help.webapp/advanced/index.jsp
index f61a76f73..dfc49a066 100644
--- a/org.eclipse.help.webapp/advanced/index.jsp
+++ b/org.eclipse.help.webapp/advanced/index.jsp
@@ -12,6 +12,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<noscript>
+<meta HTTP-EQUIV="REFRESH" CONTENT="0;URL=index.jsp?noscript=1">
+</noscript>
<title><%=WebappResources.getString("Help", request)%></title>
<jsp:include page="livehelp.js.jsp"/>
</head>
diff --git a/org.eclipse.help.webapp/index.jsp b/org.eclipse.help.webapp/index.jsp
index 0bc9945a0..097d19dff 100644
--- a/org.eclipse.help.webapp/index.jsp
+++ b/org.eclipse.help.webapp/index.jsp
@@ -6,6 +6,11 @@
<%
request.setCharacterEncoding("UTF-8");
+ if (request.getParameter("noscript") != null) {
+ request.getRequestDispatcher("/basic/index.jsp").forward(request, response);
+ return;
+ }
+
RequestData data = new RequestData(application,request);
if(data.isIE() || data.isMozilla()){
request.getRequestDispatcher("/advanced/index.jsp").forward(request, response);

Back to the top