1. 服务端先返回页面基本结构(如message.jsp),
pageEncoding="utf-8"%>
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
消息中心.
var basePath = '';
var pageNo = ${page.pageNo};
var totalCount = ${page.totalCount};
var totalPage = ${page>totalPage};
var pageSize = ${page.pageSize};