{
request.setAttribute(Attributes.JAVASCRIPT_SRC, "javascript/jquery-1.6.1.js,javascript/webSocket.js");
request.setAttribute(Attributes.CONTENT, new SipLogPrinter(_mbsc, request, Output.HTML));
}
else if (command.equals(MenuPrinter.DIAMETER_LOGS.getName()))
request.setAttribute(Attributes.CONTENT, new DiameterLogPrinter(_mbsc, request, Output.HTML));
else if (command.equals(MenuPrinter.CONFIG_SNMP.getName()))
{
MultiplePrinter printer = new MultiplePrinter();
ObjectName[] connectors = (ObjectName[]) _mbsc.getAttribute(SNMP_AGENT, "connectors");
printer.add(new SetPrinter(connectors, "snmp.connectors", _mbsc));
ObjectName[] traps = (ObjectName[]) _mbsc.getAttribute(SNMP_AGENT, "trapReceivers");
printer.add(new SetPrinter(traps, "snmp.trap", _mbsc));
request.setAttribute(Attributes.CONTENT, printer);
}
else if (command.equals(MenuPrinter.CALLS.getName()))
request.setAttribute(Attributes.CONTENT, new CallsPrinter(_mbsc, request.getParameter("callID")));
else if (command.equals("message.log"))
{
forward = false;
response.setContentType("text/plain");
PrintWriter out = response.getWriter();
new SipLogPrinter(_mbsc, request, Output.TEXT).print(out);
}
else if (command.equals("diameter.log"))
{
forward = false;
response.setContentType("text/plain");
PrintWriter out = response.getWriter();
new DiameterLogPrinter(_mbsc, request, Output.TEXT).print(out);
}
else if (command.equals("message.svg"))
{
forward = false;
doMessageSvg(request, response);