I am using
ByteArrayOutputStream saida = new ByteArrayOutputStream();
IOUtils.copy(inFile,saida);
PdfReader doc = new PdfReader(saida.toByteArray()); (the error
happens in this line)
If I put the url everything is ok. Why doesn't work with byteArray?
*****************************************************
* Federal University of Minas Gerais *
* Department of Computer Science *
* Master Degree in Computer Science *
* *
* Fundação Getulio Vargas *
* MBA in Project Management *
* *
* Aloizio Silva *
* http://www.dcc.ufmg.br/~aloizio *
* *
* Mobile Computer and Network Optimization *
*****************************************************-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions