绝对路径以斜杠(/)开头,相对于当前的Web应用程序的上下文路径。
相对路径不以斜杠(/)开头,相对于当前目录的路径。
示例如下:
@Result(name = "show", location = "/WEB-INF/pages/organiz/User/show.jsp", type = "dispatcher"),
@Result(name = "grant_role", location = "/WEB-INF/pages/organiz/User/grant_role.jsp", type = "dispatcher"),
@Result(name = "listAction", location = "../organiz/User!list.do?partitionId=${partititonId}", type = "redirectAction"),
@Result(name = "jobListAction", location = "../organiz/User!jobUserList.do", type = "redirectAction")