%@page contentType="text/html" pageEncoding="UTF-8"%>
office文件预览
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
response.setCharacterEncoding("UTF-8");
String fileName = request.getParameter("filePath");
fileName = java.net.URLDecoder.decode(fileName,"UTF-8");
%>