@RequestMapping("/example")
public String example() {
// List<NewStudent> newStudents = newStudentInfoService.getAllStudent();
// System.out.println(newStudents.size());
System.out.println("GG1");
return "CaseIndex/case";
}
比如说这个方法,是直接在原有的标签页上跳转的。
我想让浏览器打开一个新标签页在跳转的这个页面上去。如何操作?
希望这个blog,能帮助到你:https://www.iteye.com/problems/90452
js就能做到了
open方法,可以指定是新页面还是当前页面打开
在原有标签页上重定向到这个方法
兄弟们,已经做到了,不过现在打开了一个窗口之后,再点击别的a标签无法进去controller了