How to make spring return a different result when not logged in based on the controller that would handle the request?

后端 未结 0 1957
你的背包
你的背包 2020-12-15 07:35

My application returns both html pages (jsp) and json result. When a user is not logged in they are redirected to the login page which is a html page. This makes sense for t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题