public static SFrame getFrame(HttpServletRequest request, HttpServletResponse response) throws ServletException { String path = request.getServletPath();
public static SFrame getFrame(WingsSession wingsSession) throws ServletException { String path = wingsSession.getServletRequest().getServletPath();
    public static SFrame getFrame(HttpServletRequest request, HttpServletResponse response) throws ServletException {        String path = request.getServletPath();        int pos = path.lastIndexOf('/');        path = path.substring(pos + 1);        synchronized (request.getSession()) {            WingsSession wingsSession = getSession(request, response);            Map frames = getFrames(wingsSession);            SFrame frame = (SFrame)frames.get(path);            if (frame == null) {                frame = new SFrame(path);                frame.setTargetResource(path);                frame.show();                frames.put(path, frame);            }            SessionManager.removeSession();            return frame;        }    }