diff --git a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/log/LogLevel.java b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/log/LogLevel.java
index 2f623137d56..aa223f3762d 100644
--- a/hbase-http/src/main/java/org/apache/hadoop/hbase/http/log/LogLevel.java
+++ b/hbase-http/src/main/java/org/apache/hadoop/hbase/http/log/LogLevel.java
@@ -105,13 +105,17 @@ public final class LogLevel {
response)) {
return;
}
+ response.setContentType("text/html");
+ String requestedURL = "header.jsp?pageTitle=Log Level";
+ request.getRequestDispatcher(requestedURL).include(request, response);
+ PrintWriter out = response.getWriter();
+ out.println(FORMS);
- PrintWriter out = ServletUtil.initHTML(response, "Log Level");
String logName = ServletUtil.getParameter(request, "log");
String level = ServletUtil.getParameter(request, "level");
if (logName != null) {
- out.println("
Results:
"); out.println(MARKER + "Submitted Log Name: " + logName + "" + + "