These demos illustrate using the file upload tags and bean
to upload files to a database on your web server. Please make sure
you have run the setup instruction on the previous page.
Both demos use maxfiles.jsp to allow the user to specify the maximun number of files to be uploaded.Then uploadForm.jsp creates a form for inputing the files.
In the tag demo the upload form calls dbTagUploadExample.jsp to process the mulitpart stream containing the files and write the files into the data blob column in scott's demo database table.
In the bean demo the upload form calls dbTagUploadExample.jsp to process and write the files to the database.
|