Tag Archives: File Upload

How to Upload Multiple Files in Java

package com.mp.ws; /** * * @author nitinaggarwal * */ public interface IFileUpload { public byte[] get1File(String name); public byte[][] getMulitpleFiles(String names[]); public String getXmlFile(String name); } package com.mp.ws; /** * * @author nitinaggarwal * */ public class FileUpload implements IFileUpload { public byte[] get1File(String name) { byte data[] = null; FileReader fr = new FileReader(); […]

read more