Commit 5f7af0e0 authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Small tweak.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/branches@5774 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8776b51a
......@@ -14,11 +14,11 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<%
HttpServerManager serverManager = HttpServerManager.getInstance();
<%!
Map<String, String> errorMap = new HashMap<String, String>();
HttpServerManager serverManager = HttpServerManager.getInstance();
if (request.getParameter("update") != null) {
void handleUpdate(HttpServletRequest request) {
boolean isEnabled = ParamUtils.getBooleanParameter(request, "httpBindEnabled");
if (isEnabled) {
boolean httpPortsDistinct = ParamUtils.getBooleanParameter(request, "httpPortsDistinct",
......@@ -42,6 +42,12 @@
}
serverManager.setHttpBindEnabled(isEnabled);
}
%>
<%
if (request.getParameter("update") != null) {
handleUpdate(request);
}
boolean isHttpBindEnabled = serverManager.isHttpBindEnabled();
boolean isHttpBindServerSperate = serverManager.isSeperateHttpBindServerConfigured();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment