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

    Popular posts from this blog

    java - Can't add JTree to JPanel of a JInternalFrame -

    javascript - data.match(var) not working it seems -

    javascript - How can I pause a jQuery .each() loop, while waiting for user input? -