if (this.beans != null) { FlashScope flash = FlashScope.getCurrent(request, true); for (ActionBean bean : this.beans) { flash.put(bean); } }
    public void execute(HttpServletRequest request, HttpServletResponse response)        throws ServletException, IOException {        String path = getPath();        if (this.prependContext) {            path = request.getContextPath() + path;        }        // Use a UrlBuilder to munge in any parameters        UrlBuilder builder = new UrlBuilder(path);        if (this.includeRequestParameters) {            builder.addParameters(request.getParameterMap());        }        builder.addParameters(this.parameters);        // Add the flash scope id if there's a flash scope present        FlashScope flash = FlashScope.getCurrent(request, false);        if (flash != null) {            builder.addParameter(StripesConstants.URL_KEY_FLASH_SCOPE_ID, flash.key());        }        response.sendRedirect( response.encodeRedirectURL(builder.toString()) );    }