/** * Convert model to request parameters and redirect to the given URL. * * @see #appendQueryProperties * @see #sendRedirect */ @Override protected void renderMergedOutputModel( Map<String, Object> model, HttpServletRequest request, HttpServletResponse response) throws IOException { String targetUrl = createTargetUrl(model, request); FlashMap flashMap = RequestContextUtils.getOutputFlashMap(request); if (!CollectionUtils.isEmpty(flashMap)) { String targetPath = WebUtils.extractUrlPath(targetUrl.toString()); flashMap.setTargetRequestPath(targetPath); if (this.exposeModelAttributes) { flashMap.addTargetRequestParams(model); } } sendRedirect(request, response, targetUrl.toString(), this.http10Compatible); }