commit | 5be0ac5cc7e1c3a949ed865f92278e6776b295c8 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Wed Mar 31 07:20:25 2010 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Wed Mar 31 07:20:25 2010 +0000 |
tree | d6492df5cdac626ce73fc4a7409dbe8eb39d6a2a | |
parent | b5890bab92ca7a91545661e2bb18f73c80500c85 [diff] |
FELIX-2241 support multipart/form-data POST parameters FELIX-2242 fix incorrect JS fragment if dump folder does not exist git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@929407 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java b/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java index 3e54f43..88e7258 100644 --- a/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java +++ b/webconsole-plugins/memoryusage/src/main/java/org/apache/felix/webconsole/plugins/memoryusage/internal/MemoryUsagePanel.java
@@ -104,7 +104,7 @@ } else { - statusBuf.append("'files:0,total:0'"); + statusBuf.append("'files':0,'total':0"); } filesBuf.append(']'); @@ -185,7 +185,7 @@ } else { - String command = req.getParameter("command"); + String command = WebConsoleUtil.getParameter(req, "command"); if ("dump".equals(command)) { resp.setContentType("text/plain; charset=UTF-8");