Hi all,
we need read a pdf via the path (not url). Therefore we open the pdf on the server with "FileInputStream" to a and fill a byte-array.
If we write this array with "FileOutputStream" everything went fine. We can read the generated output with AcrobatReader.
But if we try to send the ByteArray to a client with a "HttpServletResponse.getOutputStream" the automatically starting AcrobatReader tells us, that out file ist corrupt.
Every suggestion ist welcome, thanks