Join GitHub today
@RequestMapping narrowing based on presence of command object [SPR-4368] #9046
Unfortunately, I stumbled upon some cases that are not handled yet by
I use this frequently if a have a form with http-method GET (e.g. read-only search forms). In this case, I cannot distinguish by method, and I do not want to distinguish by parameter (the naming of the parameters is up to Spring Binding / Tag Library).
Although not needed as urgently as 1), it would make
Andreas Schildbach commented
There are two specialities with this narrowing: One is the wildcarding mechanism, which is probably straight forward. The "relative quality factor" (q) requires not terminate matching on the first match, but to look for further matches with a higher quality factor.
Arjen Poutsma commented
Most of the features requested in this issue have been resolved.
As for the matching if command object is present or not present, there are a couple of ways around this: