ConfigServerImpl cs=(ConfigServerImpl) config;
String type=getString("admin",action,"monitorType");
String name=getString("admin",action,"name");
type=type.trim();
Monitor m;
if("request".equalsIgnoreCase(type))
m=cs.getRequestMonitor(name);
else
m=cs.getIntervallMonitor(name);
Struct sct=new StructImpl();
sct.setEL(KeyConstants._name, m.getName());
sct.setEL(KeyConstants._type, m.getType()==Monitor.TYPE_INTERVALL?"intervall":"request");
sct.setEL(LOG_ENABLED, m.isLogEnabled());
sct.setEL(CLASS, m.getClazz().getName());
pageContext.setVariable(getString("admin",action,"returnVariable"),sct);
}