spring mvc - Resolving order of execution among multiple HandlerMapping(s) -
If there are several handler mappings in one application, in what order will they be given preference to execute them? .
Yes you You can set a handlermapper order with the ordered interface. From the doctor:
Note: Implementation can enable the ordering interface to specify the sorting order and thus the preference for the DispatchTravior implementation. Un-ordered examples are considered to be the lowest priority.
Comments
Post a Comment