文件下载难题--jspSmartUpload

首页:
<html>
<head>
<title>下载</title>
<meta http-equiv="Content_Type" content="text/html;charset=gb2312">
</head>
<body>
点击文件名下载
<br>
<a href="Download.jsp">C:\efiles\1.txt</a><br>
<a href="Download.jsp">C:\efiles\2.txt</a><br>
<a href="Download.jsp">C:\efiles\3.txt</a><br>
<a href="Download.jsp">C:\efiles\4.txt</a><br>
<a href="Download.jsp">C:\efiles\5.txt</a><br>
<a href="Download.jsp">C:\efiles\6.txt</a><br>
<a href="Download.jsp">C:\efiles\7.txt</a><br>
<a href="Download.jsp">C:\efiles\8.txt</a><br>
<a href="Download.jsp">C:\efiles\9.txt</a><br>
<a href="Download.jsp">C:\efiles\10.txt</a><br>
<a href="Download.jsp">C:\efiles\11.txt</a><br>
<a href="Download.jsp">C:\efiles\12.txt</a><br>
<a href="Download.jsp">C:\efiles\13.txt</a><br>
<a href="Download.jsp">C:\efiles\14.txt</a><br>
<a href="Download.jsp">C:\efiles\15.txt</a><br>
<a href="Download.jsp">C:\efiles\16.txt</a><br>
</body>
</html>
下载实现页面(Download.jsp):
<%@ page contentType="text/html;charset=gb2312"
import="com.jspsmart.upload.*" %><%

SmartUpload su = new SmartUpload();

su.initialize(pageContext);

su.setContentDisposition(null);

su.downloadFile("?????");
%>

这个su.downloadFile("?????");括号中该如何获得1~16.txt里用户点击的那个路径??

你可能感兴趣的:(html,C++,c,jsp,C#)