Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.help.webapp/index.jsp')
-rw-r--r--org.eclipse.help.webapp/index.jsp11
1 files changed, 5 insertions, 6 deletions
diff --git a/org.eclipse.help.webapp/index.jsp b/org.eclipse.help.webapp/index.jsp
index e71d82959..d8471f19b 100644
--- a/org.eclipse.help.webapp/index.jsp
+++ b/org.eclipse.help.webapp/index.jsp
@@ -11,22 +11,21 @@
<%@ page import="org.eclipse.help.internal.webapp.data.*" errorPage="/advanced/err.jsp" contentType="text/html; charset=UTF-8"%>
<%
request.setCharacterEncoding("UTF-8");
+ LayoutData data = new LayoutData(application,request, response);
if (request.getParameter("noscript") != null) {
- request.getRequestDispatcher("/basic/index.jsp").forward(request, response);
+ request.getRequestDispatcher("/basic/index.jsp" + data.getQuery()).forward(request, response);
return;
}
- RequestData data = new RequestData(application,request, response);
if(data.isBot()){
TocData tData = new TocData(application,request, response);
- LayoutData lData = new LayoutData(application,request, response);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title><%=lData.getWindowTitle()%></title>
+<title><%=data.getWindowTitle()%></title>
</head>
<body>
<% tData.generateLinks(out); %>
@@ -34,8 +33,8 @@
</html>
<%
}else if(data.isAdvancedUI()){
- request.getRequestDispatcher("/advanced/index.jsp").forward(request, response);
+ request.getRequestDispatcher("/advanced/index.jsp" + data.getQuery()).forward(request, response);
}else{
- request.getRequestDispatcher("/basic/index.jsp").forward(request, response);
+ request.getRequestDispatcher("/basic/index.jsp" + data.getQuery()).forward(request, response);
}
%>

Back to the top