You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yair Fine <su...@yahoo.com> on 2005/11/03 17:43:09 UTC

MHT file dosn't show correctly

Hi,
 
I have am .MHT file on my web application. It is a web-archive page.
If i open it through the file system ( double click) , an internet explorer is opened and the page is seen properly.
 
If i try to access the MHT page through the web server, the page looks like gibberish.
 
I tried adding to web.xml , a mime extension mapping
<mime-mapping>
  <extension>mht</extension> 
  <mime-type>text/x-mht</mime-type> 
 </mime-mapping>

but it didn't help.
Any suggestions?
Thanks
 

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

RE: MHT file dosn't show correctly

Posted by Richard Mixon <rn...@qwest.net>.
Search the list. I believe there was a post about a similar mime problem
yesterday. The mime settings where slightly different what you show in your
post.

HTH - Richard 

-----Original Message-----
From: Yair Fine [mailto:sun_house_the_king@yahoo.com] 
Sent: Friday, November 04, 2005 5:53 AM
To: Tomcat Users List
Subject: Re: MHT file dosn't show correctly 

Hi,
 
Sorry for nagging,
I just thought to mention: I use TC 5.0.27 Thanks, Yair

Yair Fine <su...@yahoo.com> wrote:
Hi,

I have am .MHT file on my web application. It is a web-archive page.
If i open it through the file system ( double click) , an internet explorer
is opened and the page is seen properly.

If i try to access the MHT page through the web server, the page looks like
gibberish.

I tried adding to web.xml , a mime extension mapping

mht
text/x-mht 


but it didn't help.
Any suggestions?
Thanks



---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. 
		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: MHT file dosn't show correctly

Posted by Yair Fine <su...@yahoo.com>.
Hi,
 
Sorry for nagging,
I just thought to mention: I use TC 5.0.27
Thanks,
Yair

Yair Fine <su...@yahoo.com> wrote:
Hi,

I have am .MHT file on my web application. It is a web-archive page.
If i open it through the file system ( double click) , an internet explorer is opened and the page is seen properly.

If i try to access the MHT page through the web server, the page looks like gibberish.

I tried adding to web.xml , a mime extension mapping

mht 
text/x-mht 


but it didn't help.
Any suggestions?
Thanks



---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. 
		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.