AHXU-Commons-Upload-beta2 visualization upload assembly Beta2 release

xiaoxiao2021-03-06  111

Ahxu-commons-fileuploadex-beta1 and related content first see http://blog.9cbs.net/ahxu/archive/2004/08/17/76997.aspx

Ahxu-commons-fileuploadex-beta2 changes:

1. Rewrite the internal implementation structure to make a more resource, more stable.

2. Fix some bugs, the interface has made some adjustments, making it easier for applications!

Description:

The interface in Ahxu-Commons-FileUploadEx-beta1 is still reserved, but some do not recommend reuse, will be canceled in the official version, now reserves to be compatible with the previous version, now users can still use it, I suggest that new users don't use!

First, the installation of Ahxu-Commons-FileUploadex-Beta2:

1. Download Apache's Commons-FileUpload-1.0 component download address: http://apache.linuxForum.Net/dist/jakarta/commons/fileupload/binaries/commons-fileupload-1.0.zip2. Download AHXU's AHXU-Commons-FileUploadex -Beta2 component download address: http://groups.google.com/group/ahxu/msg/77718b0a680bdee0 Download jubeta2.rar then decompressed .jar file 3. Put this two.jar files into a configured web Under useful web-inf / lib directory, for example: test / web-inf / lib

Second, the test of AHXU-Commons-FileUploadex-beta2:

1. Download the application test code UPLOAD2-JSP.rar, download address http://groups.google.com/group/ahxu/msg/77718b0a680bdee0 Download UPLOAD2-JSP.rar After decompression, place the root directory of this web application, for example:: TEST / 2. Run the test Upload.jsp, require IE5.0 or more, for example: http: //127.0.0.1/test/upload.jsp3. Select one or two big points of files, it is best to be a few hundred m, then Upload, a progress dialog will pop up during the upload process, as shown

4. After the file is uploaded, the upload result is displayed, and the progress dialog is automatically turned off.

Third, useful UPLOAD2-JSP.rar:

4 files included in UPLOAD2-JSP.rar: Upload.jsp, Receive.jsp, ProgressBar.jsp, ProgressDetail.jsp

1. UPLOAD.JSP - File upload form; this page contains the FORM form uploaded by files, of course, you can also have any files you like in your app to upload the Form form page. This page calls the JavaScript function uploadbegin () pop-up schedule dialog box (Show ProgressBar.jsp) when Submit; you can customize it yourself, such as you don't use the dialog, use iFrame. But the Form's onSubmit should call UploadBegin (), such as: