Custom JSP taglib lets you upload files asynchronously. This web component mimics (replaces) HTML form for uploading.
For example:
<%@ taglib uri="taglib.tld" prefix="a" %> <a:AjaxUpload action="/servlet/Upload"> <input type="file" name="fname"> <input type="submit" value="Upload"> </a:AjaxUpload> and you will get a standard Upload form like this:
but file here will be uploaded without the refreshing your main screen. As per action you can provide here your normal CGI script (servlet, JSP page) for uploading. See for example Upload taglib from Coldtags suite.
Tags are: AjaxUpload Body tag lets you upload file (files) asynchronously. Parameters are: 1) name Optional attribute. Describes a name for your HTML form.
for downloading: Library: ajaxuploadtag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|