I am running into an issue opening a pdf/rtf link in our application. Ideally when the user clicks on the link the 'attachment' it should be rendered in a new tab in the browser. But in IE 10 it only renders gibberish. This is what we used and worked in IE 7 which we have been been using for a while.
<a href="<%=row.fileName%>" target="_blank">My_attachmentpdf</a>
But when I opened some other pdf online in the same IE 10 it worked fine.
I was thinking may be I should try to force it to save to disk locally as an alternative.
Any thoughts?
PS: The application is j2ee web application and uses struts 1.0.
Thanks.