亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? actionservlet.java

?? structs源碼
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
                    for (int i = 0; i < fpc.length; i++) {
                        newBeanConfig.addFormPropertyConfig(fpc[i]);
                    }
                } catch (Exception e) {
                    handleCreationException(baseConfigClassName, e);
                }

                // replace beanConfig with newBeanConfig
                moduleConfig.removeFormBeanConfig(beanConfig);
                moduleConfig.addFormBeanConfig(newBeanConfig);
                beanConfig = newBeanConfig;
            }
        }

        return beanConfig;
    }

    /**
     * <p>Initialize the forwards for the specified module.</p>
     *
     * @param config ModuleConfig information for this module
     * @throws ServletException if initialization cannot be performed
     */
    protected void initModuleForwards(ModuleConfig config)
        throws ServletException {
        if (log.isDebugEnabled()) {
            log.debug("Initializing module path '" + config.getPrefix()
                + "' forwards");
        }

        // Process forwards extensions.
        ForwardConfig[] forwards = config.findForwardConfigs();

        for (int i = 0; i < forwards.length; i++) {
            ForwardConfig forward = forwards[i];

            processForwardExtension(forward, config, null);
        }

        for (int i = 0; i < forwards.length; i++) {
            ForwardConfig forward = forwards[i];

            // Verify that required fields are all present for the forward
            if (forward.getPath() == null) {
                handleValueRequiredException("path", forward.getName(),
                    "global forward");
            }
        }
    }

    /**
     * <p>Extend the forward's configuration as necessary.  If actionConfig is
     * provided, then this method will process the forwardConfig as part
     * of that actionConfig.  If actionConfig is null, the forwardConfig
     * will be processed as a global forward.</p>
     *
     * @param forwardConfig the configuration to process.
     * @param moduleConfig  the module configuration for this module.
     * @param actionConfig  If applicable, the config for the current action.
     * @throws ServletException if initialization cannot be performed.
     */
    protected void processForwardExtension(ForwardConfig forwardConfig,
        ModuleConfig moduleConfig, ActionConfig actionConfig)
        throws ServletException {
        try {
            if (!forwardConfig.isExtensionProcessed()) {
                if (log.isDebugEnabled()) {
                    log.debug("Processing extensions for '"
                        + forwardConfig.getName() + "'");
                }

                forwardConfig =
                    processForwardConfigClass(forwardConfig, moduleConfig,
                        actionConfig);

                forwardConfig.processExtends(moduleConfig, actionConfig);
            }
        } catch (ServletException e) {
            throw e;
        } catch (Exception e) {
            handleGeneralExtensionException("Forward", forwardConfig.getName(),
                e);
        }
    }

    /**
     * <p>Checks if the current forwardConfig is using the correct class based
     * on the class of its configuration ancestor.  If actionConfig is
     * provided, then this method will process the forwardConfig as part
     * of that actionConfig.  If actionConfig is null, the forwardConfig
     * will be processed as a global forward.</p>
     *
     * @param forwardConfig The forward to check.
     * @param moduleConfig  The config for the current module.
     * @param actionConfig  If applicable, the config for the current action.
     * @return The forward config using the correct class as determined by the
     *         config's ancestor and its own overridden value.
     * @throws UnavailableException if an instance of the forward config class
     *                              cannot be created.
     * @throws ServletException     on class creation error
     */
    protected ForwardConfig processForwardConfigClass(
        ForwardConfig forwardConfig, ModuleConfig moduleConfig,
        ActionConfig actionConfig)
        throws ServletException {
        String ancestor = forwardConfig.getExtends();

        if (ancestor == null) {
            // Nothing to do, then
            return forwardConfig;
        }

        // Make sure that this config is of the right class
        ForwardConfig baseConfig = null;
        if (actionConfig != null) {
            // Look for this in the actionConfig
            baseConfig = actionConfig.findForwardConfig(ancestor);
        }

        if (baseConfig == null) {
            // Either this is a forwardConfig that inherits a global config,
            //  or actionConfig is null
            baseConfig = moduleConfig.findForwardConfig(ancestor);
        }

        if (baseConfig == null) {
            throw new UnavailableException("Unable to find " + "forward '"
                + ancestor + "' to extend.");
        }

        // Was our forwards's class overridden already?
        if (forwardConfig.getClass().equals(ActionForward.class)) {
            // Ensure that our forward is using the correct class
            if (!baseConfig.getClass().equals(forwardConfig.getClass())) {
                // Replace the config with an instance of the correct class
                ForwardConfig newForwardConfig = null;
                String baseConfigClassName = baseConfig.getClass().getName();

                try {
                    newForwardConfig =
                        (ForwardConfig) RequestUtils.applicationInstance(
                                baseConfigClassName);

                    // copy the values
                    BeanUtils.copyProperties(newForwardConfig, forwardConfig);
                } catch (Exception e) {
                    handleCreationException(baseConfigClassName, e);
                }

                // replace forwardConfig with newForwardConfig
                if (actionConfig != null) {
                    actionConfig.removeForwardConfig(forwardConfig);
                    actionConfig.addForwardConfig(newForwardConfig);
                } else {
                    // this is a global forward
                    moduleConfig.removeForwardConfig(forwardConfig);
                    moduleConfig.addForwardConfig(newForwardConfig);
                }
                forwardConfig = newForwardConfig;
            }
        }

        return forwardConfig;
    }

    /**
     * <p>Initialize the exception handlers for the specified module.</p>
     *
     * @param config ModuleConfig information for this module
     * @throws ServletException if initialization cannot be performed
     * @since Struts 1.3
     */
    protected void initModuleExceptionConfigs(ModuleConfig config)
        throws ServletException {
        if (log.isDebugEnabled()) {
            log.debug("Initializing module path '" + config.getPrefix()
                + "' forwards");
        }

        // Process exception config extensions.
        ExceptionConfig[] exceptions = config.findExceptionConfigs();

        for (int i = 0; i < exceptions.length; i++) {
            ExceptionConfig exception = exceptions[i];

            processExceptionExtension(exception, config, null);
        }

        for (int i = 0; i < exceptions.length; i++) {
            ExceptionConfig exception = exceptions[i];

            // Verify that required fields are all present for the config
            if (exception.getKey() == null) {
                handleValueRequiredException("key", exception.getType(),
                    "global exception config");
            }
        }
    }

    /**
     * <p>Extend the exception's configuration as necessary. If actionConfig is
     * provided, then this method will process the exceptionConfig as part
     * of that actionConfig.  If actionConfig is null, the exceptionConfig
     * will be processed as a global forward.</p>
     *
     * @param exceptionConfig the configuration to process.
     * @param moduleConfig    the module configuration for this module.
     * @param actionConfig  If applicable, the config for the current action.
     * @throws ServletException if initialization cannot be performed.
     */
    protected void processExceptionExtension(ExceptionConfig exceptionConfig,
        ModuleConfig moduleConfig, ActionConfig actionConfig)
        throws ServletException {
        try {
            if (!exceptionConfig.isExtensionProcessed()) {
                if (log.isDebugEnabled()) {
                    log.debug("Processing extensions for '"
                        + exceptionConfig.getType() + "'");
                }

                exceptionConfig =
                    processExceptionConfigClass(exceptionConfig, moduleConfig,
                        actionConfig);

                exceptionConfig.processExtends(moduleConfig, actionConfig);
            }
        } catch (ServletException e) {
            throw e;
        } catch (Exception e) {
            handleGeneralExtensionException("Exception",
                exceptionConfig.getType(), e);
        }
    }

    /**
     * <p>Checks if the current exceptionConfig is using the correct class
     * based on the class of its configuration ancestor. If actionConfig is
     * provided, then this method will process the exceptionConfig as part
     * of that actionConfig.  If actionConfig is null, the exceptionConfig
     * will be processed as a global forward.</p>
     *
     * @param exceptionConfig The config to check.
     * @param moduleConfig    The config for the current module.
     * @param actionConfig  If applicable, the config for the current action.
     * @return The exception config using the correct class as determined by
     *         the config's ancestor and its own overridden value.
     * @throws ServletException if an instance of the exception config class
     *                          cannot be created.
     */
    protected ExceptionConfig processExceptionConfigClass(
        ExceptionConfig exceptionConfig, ModuleConfig moduleConfig,
        ActionConfig actionConfig)
        throws ServletException {
        String ancestor = exceptionConfig.getExtends();

        if (ancestor == null) {
            // Nothing to do, then
            return exceptionConfig;
        }

        // Make sure that this config is of the right class
        ExceptionConfig baseConfig = null;
        if (actionConfig != null) {
            baseConfig = actionConfig.findExceptionConfig(ancestor);
        }

        if (baseConfig == null) {
            // This means either there's no actionConfig anyway, or the
            // ancestor is not defined within the action.
            baseConfig = moduleConfig.findExceptionConfig(ancestor);
        }

        if (baseConfig == null) {
            throw new UnavailableException("Unable to find "
                + "exception config '" + ancestor + "' to extend.");
        }

        // Was our config's class overridden already?
        if (exceptionConfig.getClass().equals(ExceptionConfig.class)) {
            // Ensure that our config is using the correct class
            if (!baseConfig.getClass().equals(exceptionConfig.getClass())) {
                // Replace the config with an instance of the correct class
                ExceptionConfig newExceptionConfig = null;
                String baseConfigClassName = baseConfig.getClass().getName();

                try {
                    newExceptionConfig =
                        (ExceptionConfig) RequestUtils.applicationInstance(
                            baseConfigClassName);

                    // copy the values
                    BeanUtils.copyProperties(newExceptionConfig,
                        exceptionConfig);
                } catch (Exception e) {
                    handleCreationException(baseConfigClassName, e);
                }

                // replace exceptionConfig with newExceptionConfig
                if (actionConfig != null) {
                    actionConfig.removeExceptionConfig(exceptionConfig);
                    actionConfig.addExceptionConfig(newExceptionConfig);
                } else {
                    moduleConfig.removeExceptionConfig(exceptionConfig);
                    moduleConfig.addExceptionConfig(newExceptionConfig);
                }
                exceptionConfig = newExceptionConfig;
            }
        }

        return exceptionConfig;
    }

    /**
     * <p>Initialize the action configs for the specified module.</p>
     *
     * @param config ModuleConfig information for this module
     * @throws ServletException if initialization cannot be performed
     * @since Struts 1.3
     */
    protected void initModuleActions(ModuleConfig config)
        throws ServletException {
        if (log.isDebugEnabled()) {
            log.debug("Initializing module path '" + config.getPrefix()
                + "' action configs");
        }

        // Process ActionConfig extensions.
        ActionConfig[] actionConfigs = config.findActionConfigs();

        for (int i = 0; i < actionConfigs.length; i++) {
            ActionConfig actionConfig = actionConfigs[i];

            processActionConfigExtension(actionConfig, config);
        }

        for (int i = 0; i < actionConfigs.length; i++) {
            ActionConfig actionConfig = actionConfigs[i];

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青青草成人在线观看| av在线不卡观看免费观看| 国内外精品视频| 99国产精品久久久| 26uuu国产电影一区二区| 亚洲永久免费视频| 国产69精品久久久久777| 欧美一区二区三区在线视频| 最新日韩在线视频| 国模娜娜一区二区三区| 欧美日本在线观看| 中文字幕亚洲不卡| 国产成人免费av在线| 欧美成人性福生活免费看| 一区二区三区不卡在线观看 | 亚洲美女偷拍久久| 国产在线麻豆精品观看| 91精品欧美久久久久久动漫| 亚洲三级免费观看| 99精品国产91久久久久久| 久久久不卡网国产精品二区| 日本一区中文字幕| 91精品国产综合久久久久| 亚洲成人免费影院| 欧美午夜影院一区| 亚洲综合在线电影| 91偷拍与自偷拍精品| 中文字幕精品一区二区精品绿巨人 | 成人中文字幕在线| 久久一区二区三区国产精品| 免费成人在线视频观看| 欧美一区三区二区| 爽好多水快深点欧美视频| 欧美另类久久久品| 日韩精品成人一区二区在线| 欧美性大战久久久| 亚洲成人三级小说| 欧美一级高清片| 日本一不卡视频| 精品精品国产高清一毛片一天堂| 日韩av成人高清| 日韩一级免费一区| 韩国精品久久久| 国产精品欧美久久久久无广告| 国产高清在线观看免费不卡| 欧美国产日韩亚洲一区| 成人国产免费视频| 亚洲一区免费视频| 欧美精品第1页| 国内外成人在线视频| 国产欧美视频一区二区| 9i在线看片成人免费| 亚洲欧美激情一区二区| 欧美揉bbbbb揉bbbbb| 日日夜夜免费精品| 久久男人中文字幕资源站| 国产成人a级片| 亚洲区小说区图片区qvod| 日本电影欧美片| 免费在线观看视频一区| 国产午夜精品福利| 91国在线观看| 日韩电影在线一区| 国产欧美一区二区三区沐欲| 色综合天天性综合| 青青国产91久久久久久| 国产精品视频看| 欧美伦理视频网站| 国产成人精品免费网站| 一区二区三区在线播| 日韩欧美中文字幕一区| 欧美一级片免费看| 国产福利精品一区| 亚洲自拍偷拍av| 久久一区二区三区四区| 欧美性受xxxx| 国产福利91精品一区二区三区| 伊人夜夜躁av伊人久久| 久久新电视剧免费观看| 日本精品视频一区二区| 国产在线精品一区在线观看麻豆| 亚洲色图清纯唯美| 日韩欧美成人一区| 91久久国产综合久久| 国产麻豆日韩欧美久久| 午夜电影久久久| 中文字幕一区av| 亚洲精品一区二区三区精华液 | 国产精品免费av| 欧美三级欧美一级| 成人午夜精品在线| 久久99最新地址| 亚洲国产视频在线| 国产精品久久久久久妇女6080| 欧美一二三在线| 欧美日韩一二区| 欧美亚洲综合在线| 91啦中文在线观看| 波多野结衣在线一区| 韩国视频一区二区| 久久成人18免费观看| 日本一区中文字幕| 日韩专区中文字幕一区二区| 亚洲一区二区偷拍精品| 国产精品久久毛片a| 久久久久青草大香线综合精品| 5858s免费视频成人| 在线观看免费亚洲| 在线免费观看日本一区| 91女厕偷拍女厕偷拍高清| 成人中文字幕在线| www.欧美精品一二区| 国产mv日韩mv欧美| 国产精品系列在线播放| 国产成人亚洲综合a∨婷婷图片| 麻豆精品一二三| 免费欧美日韩国产三级电影| 日本不卡1234视频| 日韩国产精品大片| 日韩精品一级二级 | 欧美人与z0zoxxxx视频| 欧美中文字幕久久| 欧美日韩视频在线第一区| 欧美亚洲一区二区在线| 欧美三级电影在线看| 欧美日韩精品一二三区| 欧美高清精品3d| 精品欧美一区二区三区精品久久 | 久久精品人人爽人人爽| 国产日韩一级二级三级| 国产精品久久久久久福利一牛影视| 国产精品久久久久久久第一福利 | 97精品视频在线观看自产线路二| 91亚洲资源网| 在线观看一区日韩| 欧美精品日日鲁夜夜添| 欧美va亚洲va在线观看蝴蝶网| 亚洲精品一区二区三区四区高清 | 不卡的电视剧免费网站有什么| 不卡免费追剧大全电视剧网站| 99久久综合精品| 欧美日韩国产精品成人| 精品少妇一区二区| 国产精品久久久久精k8| 亚洲国产一区二区视频| 美女网站色91| 成人福利视频网站| 欧美日韩久久一区| 久久久久久久av麻豆果冻| 亚洲乱码国产乱码精品精小说| 日韩国产欧美一区二区三区| 国产在线播放一区二区三区 | 激情综合网av| 91首页免费视频| 91精品久久久久久久99蜜桃 | ㊣最新国产の精品bt伙计久久| 亚洲成人一二三| 国产在线播精品第三| 在线免费不卡视频| 欧美精品一区二区久久久| 亚洲免费观看视频| 激情六月婷婷综合| 欧洲一区二区三区在线| 国产三级三级三级精品8ⅰ区| 亚洲福利一二三区| 国产91丝袜在线播放九色| 欧美亚洲一区二区在线观看| 久久嫩草精品久久久久| 首页国产欧美久久| 一本色道久久综合亚洲aⅴ蜜桃 | 中文字幕一区二区三区视频| 婷婷夜色潮精品综合在线| 99视频有精品| 久久综合网色—综合色88| 午夜视频一区二区三区| 成人少妇影院yyyy| 日韩女优视频免费观看| 亚洲伊人伊色伊影伊综合网| 国产成人在线网站| 欧美v日韩v国产v| 亚洲大片在线观看| 一本一本大道香蕉久在线精品 | 国产精品沙发午睡系列990531| 麻豆精品一区二区三区| 色乱码一区二区三区88| 国产精品久久三区| 国产精品夜夜嗨| 2023国产精品| 日韩国产欧美视频| 91.xcao| 亚洲成人福利片| 在线观看日韩电影| 亚洲综合一区在线| 日本道精品一区二区三区| 中文字幕一区在线观看视频| 国产传媒日韩欧美成人| 久久久亚洲综合| 国产成人在线色| 欧美激情综合五月色丁香| 国产91丝袜在线观看|