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>

posted on 2013-05-20 16:12  CaptainLuffy  阅读(155)  评论(0编辑  收藏  举报