如何使用SpringWebFlow重定向到ftp://url?

如何使用SpringWebFlow重定向到ftp://url?,spring,redirect,spring-webflow,Spring,Redirect,Spring Webflow,我试图使用SpringWebFlow重定向到ftp服务器的计算url,但ExternalRedirect代码中有以下几行: } else if (location.startsWith("http://") || location.startsWith("https://")) { sendRedirect(location, request, response); } else { sendServletRelativeRedirect(location, request, r

我试图使用SpringWebFlow重定向到ftp服务器的计算url,但ExternalRedirect代码中有以下几行:

} else if (location.startsWith("http://") || location.startsWith("https://")) {
    sendRedirect(location, request, response);
} else {
    sendServletRelativeRedirect(location, request, response);
}

<> P>有没有办法让Spring WebFlow重定向到,比如,

< p>你应该考虑使用这个:


我在每一个春季项目中都设置了它。

你应该考虑使用这个:


我在从事的每个spring项目中都安装了它。

从那以后我换了工作,现在不必再使用spring WebFlow,所以我没有测试过你的答案,但我会接受它,因为事实上,2.5年来没有其他人说过任何话。:)谢谢从那以后,我换了工作,现在不必再使用SpringWebflow了,所以我没有测试过你的答案,但我会接受它,因为事实上,2.5年来没有人说过任何话谢谢