%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page
import = "com.sinosoft.common.upLoad.UpLoadFormServiceImpl"
%>
txt文件预览
<%
response.setCharacterEncoding("UTF-8");
String fileName = request.getParameter("filePath");
fileName = java.net.URLDecoder.decode(fileName,"UTF-8");
UpLoadFormServiceImpl u = new UpLoadFormServiceImpl();
String s = u.readTxtFile(request,response,fileName);
%>
<%=s %>