I just need someone to strengthen my belief
I use a SimpleFormController subclass and I'm using it's doSubmitAction method, and after a successful submit I use a RedirectView to do the redirect_ after_post thing. But as RedirectView's documentation says "...exposing all model attributes as HTTP query parameters.", so after the redirect I see some parameters in the URL (my command object, org.springframework.validation.BindException, etc.) and I think it's annoying to see these things there.
And finally the questions:
Do I think right that I have to use one of the onSubmit methods with an empty model or with parameters I need?
Or is there a better solution?
Or is it totally unusal to see the aforementioned things in the URL?
Thanks in advance.



Reply With Quote