// if (log.debugable()) log.debug("Starting DHtmlUpdateServlet at "+config.getServletContext());
_ctx = config.getServletContext();
_ctx.setAttribute(ATTR_UPDATE_SERVLET, this);
final WebManager webman = WebManager.getWebManager(_ctx);
String param = config.getInitParameter("compress");
_compress = param == null || param.length() == 0 || "true".equals(param);
if (!_compress)
webman.getClassWebResource().setCompress(null); //disable all
//Copies au extensions defined before DHtmlUpdateServlet is started
final WebApp wapp = webman.getWebApp();
final Map aues = (Map)wapp.getAttribute(ATTR_AU_PROCESSORS);
if (aues != null) {
for (Iterator it = aues.entrySet().iterator(); it.hasNext();) {
final Map.Entry me = (Map.Entry)it.next();
addAuExtension((String)me.getKey(), (AuExtension)me.getValue());