I have a process on the server that dynamically generates PDFs, the details of how it is done are not relevant to my question...
I would like to send the PDF byte stream back to the client (setting the reponse content type to pdf with
) and display it in a new browser window which would open the pdf document in the PDF viewer. An even better way of doing this would be to open the PDF document in the pdf viewer within a GXT Window object.
Has anyone done this before with GXT? Any ideas / best practice on how to implement this functionality?
Any help greatly appreciated. Thanks