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

    mysql - How to enter php data into a html multiple select box -

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

    c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -