if (experiment == null)
if (experiment == null || !usingExperiment)
  private String findServlet() {    if (experiment == null)      return null;    ArrayList componentData = new ArrayList();    ComponentData societyData = experiment.getSocietyComponentData();    ComponentData[] cdata = societyData.getChildren();    for (int i = 0; i < cdata.length; i++)       componentData.add(cdata[i]);    for (int i = 0; i < componentData.size(); i++) {      Object o = componentData.get(i);      if (o instanceof AgentComponentData) {	AgentComponentData acd = (AgentComponentData)o;        if (hasServlet(acd)) {	  String name = acd.getName().substring(acd.getName().lastIndexOf('.') + 1);	  if (log.isDebugEnabled()) {	    log.debug("Found GLSServlet in agent " + name);	  }          return name;	}      } else {        ComponentData[] tmp = ((ComponentData)o).getChildren();        for (int j = 0; j < tmp.length; j++)           componentData.add(tmp[j]);      }    }    return null;  }