Posted By:
Henry_Leung
Posted On:
Monday, May 26, 2003 07:00 PM
I am developing my homepage on Websphere Application Sever 4.0. In my homepage, there is a link which directly points to a .doc file. But when I click the link, the .doc file is displayed as plain-text. That means, the header is wrongly set as "text/html". From my past experience, this problem usually happens when a JSP tries to flush the output too early before it delivers its real content. But this time JSP is not related. The link directly points to the .doc file. i.e. the link is somehting like http://www.mydomain.com/word.doc Hence I suspect it's server-setting problem. Does anybody know why the header would be wrongly set as "text/html"???
More>>
I am developing my homepage on Websphere Application Sever 4.0. In my homepage, there is a link which directly points to a .doc file. But when I click the link, the .doc file is displayed as plain-text. That means, the header is wrongly set as "text/html". From my past experience, this problem usually happens when a JSP tries to flush the output too early before it delivers its real content. But this time JSP is not related. The link directly points to the .doc file. i.e. the link is somehting like
http://www.mydomain.com/word.doc
Hence I suspect it's server-setting problem. Does anybody know why the header would be wrongly set as "text/html"???
<<Less