ServletContext servletContext = session.getServletContext();
    public ActionForward execute(ComponentContext context,                                 ActionMapping mapping,                                 ActionForm form,                                 HttpServletRequest request,                                 HttpServletResponse response)        throws Exception {        HttpSession session = request.getSession();        ServletContext servletContext = session.getServletContext();        String pageStr = request.getParameter("page");        String sizeStr = request.getParameter("size");                SaveBagForm bagForm = (SaveBagForm) session.getAttribute("saveBagForm");        if (bagForm != null) {            bagForm.reset(mapping, request);        }                PagedTable pt = SessionMethods.getResultsTable(session, request.getParameter("table"));        if (pt == null) {            LOG.error("PagedTable is null");            return null;        }        request.setAttribute("resultsTable", pt);                int page = (pageStr == null ? 0 : Integer.parseInt(pageStr));        int size = (sizeStr == null ? pt.getPageSize() : Integer.parseInt(sizeStr));                pt.setPageAndPageSize(page, size);                return null;    }