res.setContentType(environment.getContentType());
out = res.getWriter();
pers = new Persister(database);
LabelResource labels = environment.getLabelResource(session);
Script script = null;
String scriptString = getScript(labels);
if(scriptString != null)
script = new Script()
.setLanguage("JavaScript")
.setType("text/javascript")
.addElement(scriptString);
String content = handleRequest(req, session, parameters, pers, labels, requestType);
environment.outputPage(getTabSetId(), getTabId(), content, script != null ? script
.toString() : null, out, session);
} catch(Throwable e) {
environment.outputErrorPage(e, out);
} finally {