@Override
    public void actionCommit() throws IOException, ServletException {

        try {
            copyFileToServer(OpenCms.getSystemInfo().getPackagesRfsPath());
        } catch (CmsException e) {
            // error copying the file to the OpenCms server
            setException(e);
            return;
        }
        Map params = new HashMap();
        params.put(PARAM_FILE, getParamImportfile());
        params.put(PARAM_KEEPPERMISSIONS.toLowerCase(), getParamKeepPermissions());
        // set style to display report in correct layout
        params.put(PARAM_STYLE, CmsToolDialog.STYLE_NEW);
        // set close link to get back to overview after finishing the import
        params.put(PARAM_CLOSELINK, CmsToolManager.linkForToolPath(getJsp(), "/database"));
        // redirect to the report output JSP
        getToolManager().jspForwardPage(this, CmsDatabaseImportFromServer.IMPORT_ACTION_REPORT, params);
    }
@ Override public void actionCommit ( ) throws IOException , ServletException { try { copyFileToServer ( OpenCms . getSystemInfo ( ) . getPackagesRfsPath ( ) ) ; } catch ( CmsException e ) { setException ( e ) ; return ; } Map params = new HashMap ( ) ; params . put ( PARAM_FILE , getParamImportfile ( ) ) ; params . put ( PARAM_KEEPPERMISSIONS . toLowerCase ( ) , getParamKeepPermissions ( ) ) ; params . put ( PARAM_STYLE , CmsToolDialog . STYLE_NEW ) ; params . put ( PARAM_CLOSELINK , CmsToolManager . linkForToolPath ( getJsp ( ) , "/database" ) ) ; getToolManager ( ) . jspForwardPage ( this , CmsDatabaseImportFromServer . IMPORT_ACTION_REPORT , params ) ; }
@see org.opencms.workplace.administration.A_CmsImportFromHttp#actionCommit()