Satishchandra TN

Satishchandra TN

  • NA
  • 60
  • 63.1k

Displaying the .mht file inside a panel

Dec 13 2011 6:50 AM
Hi i am uploading a .mht file to server from admin page of my application and when i try to view that file using user access, i need to view that file inside a panel but i am getting the content of the file like:

MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_01CCB684.DFDFB4A0" This document is a Single File Web Page, also known as a Web Archive file. If you are seeing this message, your browser or editor doesn't support Web Archive files. Please download a browser that supports Web Archive, such as Windows® Internet Explorer®. ------=_NextPart_01CCB684.DFDFB4A0 Content-Location: file:///C:/8EC4B104/F10relatedtheoryModified.htm Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="windows-1252"

along with some part of the text is also displaying .. my requirement is how to remove this MIME-Version part?? the user must be able to view onlt the text file and not its contents. i tried with the supported browsers but its repeating the same thing. please help me to come out from this problem