我有一個註冊表控制器,即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