我有一个注册表控制器,即RegisterController。对于我的网址是这样如何在spring mvc中更改新控制器的URL?
http://localhost:8050/lifejodi-web/register/formStep1
但是当我创建了一个名为ProfileController可,看到我的个人资料为我的网址应该像
http://localhost:8050/lifejodi-web/profile/myProfile
新的控制器,但它需要的网址为a
/lifejodi-web/register/profile/myProfile
can任何人都会为我提供解决方案。
由于它的工作原理如我所料。 – user1523
欢迎您:) – Shaheer