search

Home  >  Q&A  >  body text

java - springMVC有提供url管理的模块或者工具吗?

PHPzPHPz2899 days ago301

reply all(3)I'll reply

  • 迷茫

    迷茫2017-04-18 10:40:41

    I don’t know much about Springboot. It seems to be the configuration of Springboot

    reply
    0
  • 阿神

    阿神2017-04-18 10:40:41

    Idea has a function to look at the configuration of springmvc and see all the URLs you configured are displayed

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 10:40:41

    The old version of springmvc you mentioned has started to support it. Now of course the new version also supports it.

    If you want the configuration to be clear and viewable, use simpleurlhandlermapping in the configuration file, and then manually map the url/controller without using javaconfig mode.

    Springmvc has been using the existing configuration method since version 3.0. It is very simple to use, but when it comes to maintenance, finding the code is not as easy as the original simpleurlhandlermapping

    reply
    0
  • Cancelreply