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 -

    c++ - Qt-how to convert a QByteArray to struct -

    c++ - What exceptions does boost mapped_file_source throw? -