Methods Summary |
---|
public java.io.File[] | getUpload() return this.uploads;
|
public java.lang.String[] | getUploadContentType() return this.uploadContentTypes;
|
public java.lang.String[] | getUploadFileName() return this.uploadFileNames;
|
public void | setUpload(java.io.File[] upload) this.uploads = upload;
|
public void | setUploadContentType(java.lang.String[] uploadContentType) this.uploadContentTypes = uploadContentType;
|
public void | setUploadFileName(java.lang.String[] uploadFileName) this.uploadFileNames = uploadFileName;
|
public java.lang.String | upload()
System.out.println("\n\n upload2");
System.out.println("files:");
for (File u: uploads) {
System.out.println("*** "+u+"\t"+u.length());
}
System.out.println("filenames:");
for (String n: uploadFileNames) {
System.out.println("*** "+n);
}
System.out.println("content types:");
for (String c: uploadContentTypes) {
System.out.println("*** "+c);
}
System.out.println("\n\n");
return SUCCESS;
|