Home  >  Q&A  >  body text

java - controller返回的String,并没有这个地址啊?

迷茫迷茫2742 days ago572

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-04-18 10:58:19

    This is obviously a Spring framework. There must be a jsp or html named createUserForm in your static resources. If it is Spring MVC, the XML file you configure must have XML nodes for configuring prefix and suffix. If it is SpringBoot, then this The file should be placed under the resource directory. Just read more about Spring documentation

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-18 10:58:19

    Incorrect configuration file

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:58:19

    In this way, the return is not the url, but the name of a certain view

    reply
    0
  • Cancelreply