I'm facing two problems.
I'm having a [color=Red][b]MHT[/b][/color] file. When I'm flushing the content into the browser using response.getOutputStream().write(), it is showing only the text but not showing the format.
I'm having a [color=Red][b]Microsoft Word[/b][/color] file. When I'm flusing the content into IE7 it is asking for download instead of displaying in the browser itself. I setted content type as application/msword.
Please suggest the solutions for known points.