request parameter to debug the system properties in the dump servlet
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3093 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
1f5933f89b
commit
c4c9e13504
|
@ -494,6 +494,19 @@ public class Dump extends HttpServlet
|
|||
}
|
||||
}
|
||||
|
||||
if ("true".equals(request.getParameter("env")))
|
||||
{
|
||||
pout.write("</tr><tr>\n");
|
||||
pout.write("<th align=\"left\" colspan=\"2\"><big><br/>Environment System-Properties: </big></th>");
|
||||
|
||||
for (Entry<Object, Object> e : System.getProperties().entrySet())
|
||||
{
|
||||
pout.write("</tr><tr>\n");
|
||||
pout.write("<th align=\"right\">" + notag(String.valueOf(e.getKey())) + ": </th>");
|
||||
pout.write("<td>"+notag(String.valueOf(e.getValue()))+"</td>");
|
||||
}
|
||||
}
|
||||
|
||||
pout.write("</tr><tr>\n");
|
||||
pout.write("<th align=\"left\" colspan=\"2\"><big><br/>Request Parameters:</big></th>");
|
||||
h= request.getParameterNames();
|
||||
|
|
Loading…
Reference in New Issue