I am trying to open a license file using Servlet in a new browser window. The file opens, but the format is not correct.
Example , input file is as below.
In the browser, the output is as below.
Typically my code in the servlet is below.
Am I missing something on formatting/contentType. Could someone help me out.
Thanks in advance for your help.