Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Displaying files in the browser

I'm facing two problems.

[1]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.

[2]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.

Thanks.

Comments

Sign In or Register to comment.