<%@ page language="java" %>
<%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld" prefix="download" %>
<html>
<body>

<%  
   String s = request.getRequestURI();
   String servletPath = s.substring(0,s.indexOf("jsp/fileaccess")) + "servlet/download/";
   String userDir =  "/";
%>  
<download:httpDownload 
    source='<%= userDir %>'
    recurse="false"
    servletPath = '<%= servletPath %>' >
<br> Choose:
</download:httpDownload>
<br>Done!

</body>
</html>

