return new ActionForward("web/ad/advertManage.jsp", true)页面明明存在却说跳转页面不存在
原因:判断是否登录
解决方法:
加入
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
System.out.println(request.getParameter("page"));
String currentPage = request.getParameter("page") == null ? "1" : request.getParameter("page");
%>
<head>
<base href="<%=basePath%>" />
</head>