如何使用Spring Webflow重定向到ftp:// url?
-
08-07-2019 - |
题
我正在尝试使用Spring WebFlow将计算网址重定向到ftp服务器,但在ExternalRedirect代码中有以下几行:
} else if (location.startsWith("http://") || location.startsWith("https://")) {
sendRedirect(location, request, response);
} else {
sendServletRelativeRedirect(location, request, response);
}
有没有办法让Spring WebFlow重定向到 ftp://example.com/ ?
解决方案
你应该考虑使用这个: http://www.tuckey.org/urlrewrite/
我对我工作的每个春季项目进行了设置。
不隶属于 StackOverflow