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

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

?? facestilesrequestprocessor.java

?? struts的源代碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:

    // Override default processing to provide logging
    protected ActionForward processActionPerform(HttpServletRequest request,
                                                 HttpServletResponse response,
                                                 Action action,
                                                 ActionForm form,
                                                 ActionMapping mapping)
        throws IOException, ServletException {

        if (log.isTraceEnabled()) {
            log.trace("Performing standard action perform");
        }
        ActionForward result =
            super.processActionPerform(request, response, action,
                                       form, mapping);
        if (log.isDebugEnabled()) {
            log.debug("Standard action perform returned " +
                      result.getPath() + " forward path");
        }
        return (result);

    }


    // Override default processing to provide logging
    protected boolean processForward(HttpServletRequest request,
                                     HttpServletResponse response,
                                     ActionMapping mapping)
        throws IOException, ServletException {

        if (log.isTraceEnabled()) {
            log.trace("Performing standard forward handling");
        }
        boolean result = super.processForward
            (request, response, mapping);
        if (log.isDebugEnabled()) {
            log.debug("Standard forward handling returned " + result);
        }
        return (result);

    }


    // Override default processing to provide logging
    protected void processForwardConfig(HttpServletRequest request,
                                        HttpServletResponse response,
                                        ForwardConfig forward)
        throws IOException, ServletException {

        if (log.isTraceEnabled()) {
            log.trace("Performing standard forward config handling");
        }
        super.processForwardConfig(request, response, forward);
        if (log.isDebugEnabled()) {
            log.debug("Standard forward config handling completed");
        }

    }


    // Override default processing to provide logging
    protected boolean processInclude(HttpServletRequest request,
                                     HttpServletResponse response,
                                     ActionMapping mapping)
        throws IOException, ServletException {

        if (log.isTraceEnabled()) {
            log.trace("Performing standard include handling");
        }
        boolean result = super.processInclude
            (request, response, mapping);
        if (log.isDebugEnabled()) {
            log.debug("Standard include handling returned " + result);
        }
        return (result);

    }


    /**
     * <p>Identify and return the path component (from the request URI for a
     * non-Faces request, or from the form event for a Faces request)
     * that we will use to select an ActionMapping to dispatch with.
     * If no such path can be identified, create an error response and return
     * <code>null</code>.</p>
     *
     * @param request The servlet request we are processing
     * @param response The servlet response we are creating
     *
     * @exception IOException if an input/output error occurs
     */
    protected String processPath(HttpServletRequest request,
                                 HttpServletResponse response)
        throws IOException {

        // Are we processing a Faces request?
        ActionEvent event = (ActionEvent)
            request.getAttribute(Constants.ACTION_EVENT_KEY);

        // Handle non-Faces requests in the usual way
        if (event == null) {
            if (log.isTraceEnabled()) {
                log.trace("Performing standard processPath() processing");
            }
            return (super.processPath(request, response));
        }

        // Calculate the path from the form name
        UIComponent component = event.getComponent();
        if (log.isTraceEnabled()) {
            log.trace("Locating form parent for command component " +
                      event.getComponent());
        }
        while (!(component instanceof FormComponent)) {
            component = component.getParent();
            if (component == null) {
                log.warn("Command component was not nested in a Struts form!");
                return (null);
            }
        }
        if (log.isTraceEnabled()) {
            log.trace("Returning selected path of " +
                      ((FormComponent) component).getAction());
        }
        return (((FormComponent) component).getAction());

    }


    /**
     * <p>Populate the properties of the specified <code>ActionForm</code>
     * instance from the request parameters included with this request,
     * <strong>IF</strong> this is a non-Faces request.  For a Faces request,
     * this will have already been done by the <em>Update Model Values</em>
     * phase of the request processing lifecycle, so all we have to do is
     * recognize whether the request was cancelled or not.</p>
     *
     * @param request The servlet request we are processing
     * @param response The servlet response we are creating
     * @param form The ActionForm instance we are populating
     * @param mapping The ActionMapping we are using
     *
     * @exception ServletException if thrown by RequestUtils.populate()
     */
    protected void processPopulate(HttpServletRequest request,
                                   HttpServletResponse response,
                                   ActionForm form,
                                   ActionMapping mapping)
        throws ServletException {

        // Are we processing a Faces request?
        ActionEvent event = (ActionEvent)
            request.getAttribute(Constants.ACTION_EVENT_KEY);

        // Handle non-Faces requests in the usual way
        if (event == null) {
            if (log.isTraceEnabled()) {
                log.trace("Performing standard processPopulate() processing");
            }
            super.processPopulate(request, response, form, mapping);
            return;
        }

        // Faces Requests require no processing for form bean population
        // so we need only check for the cancellation command name
        if (log.isTraceEnabled()) {
            log.trace("Faces request, so no processPopulate() processing");
        }
        UIComponent source = event.getComponent();
        if (source instanceof UICommand) {
            UICommand command = (UICommand) source;
            if ("cancel".equals(((UICommand) source).getId())) {
                if (log.isTraceEnabled()) {
                    log.trace("Faces request with cancel button pressed");
                }
                request.setAttribute(Globals.CANCEL_KEY, Boolean.TRUE);
            }
        }

    }


    // Override default processing to provide logging
    protected boolean processValidate(HttpServletRequest request,
                                      HttpServletResponse response,
                                      ActionForm form,
                                      ActionMapping mapping)
        throws IOException, ServletException {

        if (log.isTraceEnabled()) {
            log.trace("Performing standard validation");
        }
        boolean result = super.processValidate
            (request, response, form, mapping);
        if (log.isDebugEnabled()) {
            log.debug("Standard validation processing returned " + result);
        }
        return (result);

    }


    // --------------------------------------------------------- Private Methods


    /**
     * <p>Return <code>true</code> if the specified context-relative URI
     * specifies a request to be processed by the Struts controller servlet.</p>
     *
     * @param uri URI to be checked
     */
    private boolean isStrutsRequest(String uri) {

        int question = uri.indexOf("?");
        if (question >= 0) {
            uri = uri.substring(0, question);
        }
        String mapping = (String)
            servlet.getServletContext().getAttribute(Globals.SERVLET_KEY);
        if (mapping == null) {
            return (false);
        } else if (mapping.startsWith("*.")) {
            return (uri.endsWith(mapping.substring(1)));
        } else if (mapping.endsWith("/*")) {
            return (uri.startsWith(mapping.substring(0, mapping.length() - 2)));
        } else {
            return (false);
        }

    }


}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产剧情一区二区| 99国产精品国产精品久久| 激情文学综合丁香| 91视频com| 欧美成va人片在线观看| 亚洲自拍偷拍网站| 国产成人在线免费| 日韩欧美国产wwwww| 一区二区三区四区视频精品免费 | 欧美成人性战久久| 亚洲综合自拍偷拍| 99久久国产综合色|国产精品| 日韩视频免费观看高清完整版 | 欧美日韩在线电影| 亚洲色图视频网站| av在线综合网| 国产精品天美传媒沈樵| 激情综合网av| 日韩西西人体444www| 一区av在线播放| 91免费版在线看| 中文字幕乱码久久午夜不卡| 精品一区二区在线看| 日韩三级免费观看| 午夜精品久久久久久久久久久| 92国产精品观看| 国产精品久久久久aaaa| 国产成人福利片| 日本一区二区成人| 成人高清视频在线观看| 国产精品三级av| www.视频一区| 一区二区三区在线播放| 在线免费亚洲电影| 亚洲午夜av在线| 欧美久久高跟鞋激| 精品在线亚洲视频| 日韩女优av电影在线观看| 九九热在线视频观看这里只有精品| 欧美成人欧美edvon| 国产在线精品一区二区夜色 | 国产日韩欧美电影| 99精品黄色片免费大全| 亚洲精品视频在线看| 91成人网在线| 日韩成人精品在线观看| 久久噜噜亚洲综合| jlzzjlzz欧美大全| 性做久久久久久久免费看| 777亚洲妇女| 国产一区二区不卡老阿姨| 久久精品在线观看| 一本大道久久a久久精二百| 亚洲电影在线免费观看| 日韩欧美在线不卡| 高清日韩电视剧大全免费| 亚洲婷婷在线视频| 制服丝袜亚洲色图| 岛国一区二区三区| 亚洲一区二区三区视频在线播放| 欧美久久久久久久久久| 国产黑丝在线一区二区三区| 亚洲色图都市小说| 欧美一区二区三区四区高清| 成人一区二区三区视频| 午夜一区二区三区视频| 国产欧美在线观看一区| 欧美在线啊v一区| 国产伦精品一区二区三区免费迷 | 国产一区二区三区最好精华液| 国产日韩欧美一区二区三区综合| 欧美午夜精品一区二区三区| 久久99精品国产.久久久久久| 中文字幕一区视频| 宅男噜噜噜66一区二区66| www.亚洲精品| 免费人成精品欧美精品| 亚洲男女一区二区三区| 日韩欧美国产精品一区| 欧美系列亚洲系列| 成人av第一页| 男女激情视频一区| 亚洲一二三区在线观看| 国产精品免费免费| 精品噜噜噜噜久久久久久久久试看| 91免费观看视频在线| 国产福利一区在线观看| 日韩av电影免费观看高清完整版在线观看| 国产精品久久久久久久久久免费看| 91麻豆精品国产91久久久 | 99精品国产热久久91蜜凸| 国内成+人亚洲+欧美+综合在线| 亚洲一区自拍偷拍| 国产精品国产三级国产三级人妇 | 亚洲3atv精品一区二区三区| 国产精品久久久久久久午夜片| 日韩三级中文字幕| 欧美丰满美乳xxx高潮www| 色综合亚洲欧洲| 丁香桃色午夜亚洲一区二区三区 | 亚洲午夜久久久久久久久电影院 | 香蕉av福利精品导航| 综合久久给合久久狠狠狠97色| 久久天天做天天爱综合色| 91麻豆精品国产无毒不卡在线观看 | 国产精品99久| 麻豆91在线看| 日韩黄色一级片| 五月婷婷欧美视频| 三级在线观看一区二区 | 亚洲欧洲日韩av| 欧美韩日一区二区三区| 国产日韩欧美a| 久久久99精品免费观看不卡| 国产无人区一区二区三区| xfplay精品久久| 26uuu色噜噜精品一区| 久久免费美女视频| 久久精品男人的天堂| 亚洲国产精品二十页| 亚洲欧洲av另类| 洋洋av久久久久久久一区| 亚洲一级在线观看| 五月开心婷婷久久| 五月激情综合色| 青青草97国产精品免费观看无弹窗版| 蜜桃一区二区三区在线| 国产精品一线二线三线| 国产91精品久久久久久久网曝门| av色综合久久天堂av综合| 日本韩国欧美在线| 欧美日韩精品一区二区在线播放| 91精品中文字幕一区二区三区| 精品久久99ma| 中文字幕一区三区| 激情综合网激情| 国产成人在线视频播放| 91年精品国产| 欧美一区二区三区系列电影| 久久九九99视频| 依依成人精品视频| 蜜臀av一区二区在线观看| 粉嫩13p一区二区三区| 91豆麻精品91久久久久久| 日韩视频免费观看高清完整版在线观看 | 欧美精选在线播放| 国产午夜亚洲精品理论片色戒| 亚洲欧美一区二区在线观看| 天天综合网天天综合色| 丁香桃色午夜亚洲一区二区三区| 91久久精品午夜一区二区| 欧美一级久久久久久久大片| 中文av一区二区| 五月天婷婷综合| 成人av先锋影音| 欧美一区二区在线看| 国产精品久久毛片a| 日韩国产欧美在线视频| 成人av网站在线| 欧美一区二区三区视频免费| 中文字幕一区二区三区在线播放 | 日本91福利区| 99久久久久久| 日韩免费观看高清完整版在线观看 | 青青草成人在线观看| 色综合一个色综合亚洲| 久久精品一区二区三区不卡| 日韩高清不卡在线| 成人国产精品免费观看| 精品福利av导航| 午夜视频一区在线观看| 91丨九色丨黑人外教| 久久综合资源网| 日本在线不卡视频一二三区| 色菇凉天天综合网| 欧美激情一区二区三区不卡| 国内精品第一页| 91精品国产欧美日韩| 亚洲最大色网站| 在线亚洲免费视频| 中文字幕日本不卡| 国产超碰在线一区| 欧美精品一区二区三区视频 | 成人综合婷婷国产精品久久免费| 91精品国产91久久久久久最新毛片 | 狠狠色狠狠色综合系列| 欧美一级午夜免费电影| 日日夜夜精品视频免费| 在线一区二区观看| 亚洲男人的天堂网| 91啦中文在线观看| 亚洲同性同志一二三专区| 9i看片成人免费高清| 国产精品高潮久久久久无| 高清不卡一区二区在线| 久久久精品国产免大香伊| 国产精品一区二区无线| 久久一区二区视频| 国产一区二区在线视频| 国产欧美综合在线观看第十页|