search

Home  >  Q&A  >  body text

java - As shown in the figure, how is the action in the form of the jsp page mapped to this position? Why can it be mapped to save without writing dynUser?

Shouldn’t it be written like this?
action="dynUsse/save"

PHPzPHPz2784 days ago760

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-05-17 10:11:00

    Is there any basePath or something in JSP? Remember to add basePath and add the access path by default before the requested path!

    reply
    0
  • 黄舟

    黄舟2017-05-17 10:11:00

    See if this jsp file is in the dynuser folder. . . Relative paths will be added automatically.

    reply
    0
  • Cancelreply