在UserController类上面用@RequestMapping("user")定义啦一个路径
然后在登陆页面使用ajax请求/userLoginServlet成功返回数据后
ajax里面window.location.href='register.jsp';转跳到这个页面
为什么@RequestMapping("user")定义的user在url地址栏中出现了user呢,
请问大神window.location.href= 这里填写什么
或者在@RequestMapping("user")括号里面还需要加什么配置吗?
或者在其他地方要加什么配置请求大神解决此问题在下小弟万分感谢