<%File file = new File(this.getServletContext().getRealPath("./excel"));//找到文件夹 
   File[] fileList = file.listFiles(); 
 
   for(int i=0;i<fileList.length;i++) {  
 %>
<a href="<%= basePath %>/Nate.jsp?filedownload=
D:\MyEclipseDemo\.metadata\.me_tcat\webapps\Tell\excel\/<%=fileList[i].getName()%>&fileisplay=<%=fileList[i].getName()%>"><%=fileList[i].getName()%></a></br>
<% }%>Linux