写一个上传文件的服务
分别写两个方法
public String upLoadFileWithDataHandler(DataHandler file);
public void uploadWithByte(byte[] file);
在window下面:两个方法都时正常的。
在linux 下面:
调用upLoadFileWithDataHandler 方法时,传小于20k的文件是没有问题的,当传输的文件大于20k时,报错java.io.IOException: Permission denieduploadWithByte可以传大于20k的文件,5M也能传输,可以正常运行。搞不清那里有问题。请赐教亲。