These demos illustrate using the file upload tags and bean to upload
files to the file system of the machine your web server runs on. Please make sure you have run the setup instruction on the previous page.
Th tag demo uses maxfiles.jsp to allow the user to specify the maximum
number of files they wish to upload. Then uploadForm.jsp
creates a form for inputing the files. Finally the tagUploadExample.jsp
is called to process the mulitpart stream containing the files.
The bean demo calls uploadForm.html which creates a form for inputing a file and the forms action runs the bean upload code (beanUploadExample.jsp) which processes the multipart stream.
|