These demos illustrate using the download
tag and bean to list the files in the database table available for
download. The user can choose a file which
will then be downloaded by the
DownloadServlet. Please make sure you have
run the setup instruction on the previous page.
The tag demo is dbTagDownloadExample.jsp
which uses the httpDownload tag to
list the files which have been uploaded to the
fileaccess table and to construct links
link to the DownloadServlet. The links
contain the file name and other parameters
required by the servlet.
The bean demo is dbBeanDownloadExample.jsp.
It obtains a list of available files from the table. The links
are created in the body of the example. |