-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document that WebFlux does not support forward redirects #33441
Comments
This part is documented in the "Redirecting" section of our reference documentation. I have successfully tested this feature with the mustache templating engine. It seems this feature is not supported by all templating engines, such as Thymeleaf. Even if we don't support this engine ourselves it is very popular so we could add a note about this in the docs. Would that work for you? |
It would be good to note:
|
A
I think so, yes. This is covered I think in the "redirecting" section I pointed to and in the javadocs.
Unlike MVC, Forward dispatches are not supported in WebFlux. See #19106. I think other projects chose to use |
Affects: 6.1
RFE: add a section in WebFlux “View Technologies”
on how to do
forward:
andredirect:
.Currently it's not obvious how to handle these schemes with a multitude of SO posts.
Somehow I think the library should be able to handle it easily.
Aside:
redirect:
seems to be available inUrlBasedViewResolver
: but the docsdon't show how to add that to the registry (the docs have a freemarker example
though).
Neither of these two patterns work and there is an exception such as:
Without Thymeleaf:
The text was updated successfully, but these errors were encountered: