I\'m generating in a server a PDF document that I want to show then in the client. The server side looks like following:
ByteArrayOutputStream baos = generat
Try using:
dataType: "application/pdf", success: function(data, textStatus, jqXHR) { window.open(escape(data), "Title", ""); },