I’m trying to use Spring WebFlow to redirect to a computed url to an ftp server, but in the ExternalRedirect code are the following lines:
} else if (location.startsWith("http://") || location.startsWith("https://")) {
sendRedirect(location, request, response);
} else {
sendServletRelativeRedirect(location, request, response);
}
Is there any way to get Spring WebFlow to redirect to, say, ftp://example.com/?
You should consider using this:
http://www.tuckey.org/urlrewrite/
I have it setup with every spring project I work on.