WingsSession wingsSession = WingsSession.getSession(request, response);
WingsSession wingsSession = WingsSession.getSession(servletConfig, request, response);
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {        WingsSession wingsSession = WingsSession.getSession(request, response);        synchronized (request.getSession()) {            String path = request.getServletPath();            if (path == null)                return;            int pos = path.lastIndexOf('/');            path = path.substring(pos + 1);            ExternalizedResource extInfo = wingsSession.getExternalizeManager().getExternalizedResource(path);            Device outputDevice = DeviceFactory.createDevice(extInfo);            wingsSession.getExternalizeManager().deliver(extInfo, response, outputDevice);        }    }