Spring Webflowでftp:// URLにリダイレクトするにはどうすればよいですか?
-
08-07-2019 - |
質問
Spring WebFlowを使用して、計算されたURLを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