> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Excel file in Tomcat Virtual Dir has junk data in it.
>
> I'd bet the problem is newline translation.
It was the MIME type - the version of Tomcat the OP was using had it wrong
(known bug).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Uddav,
uddav wrote:
> I have put a .xls file in there, and when we open it - it opens in the
> browser itself and what it seems to have is junk data in it. (unreadable).
> However instead of clicking it to open, if we do "Save the target as.." and
> s
Gregor Schneider wrote:
Server version: Apache Tomcat/6.0.18
Server built: Jul 22 2008 02:00:36
Server number: 6.0.18.0
xls
application/vnd.ms-excel
Which by the way, dear OP, is exactly the same as the one I posted for
you yesterday, along with the reason why.
Th
Server version: Apache Tomcat/6.0.18
Server built: Jul 22 2008 02:00:36
Server number: 6.0.18.0
xls
application/vnd.ms-excel
hth
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key av
> From: uddav [mailto:adi.upr...@gmail.com]
> Subject: Re: Excel file in Tomcat Virtual Dir has junk data in it.
>
> It is Version 5.0.27.
Which is no longer supported. I do seem to recall that the
settings for .xls were incorrect in that version. If you can't upgrade to a
7; PC
> with the correct file extensions?
>
> Any insight and recommendations in this regard would be greatly
> appreciated.
>
> Thanks in Advance
> Uddav
>
>
>
--
View this message in context:
http://www.nabble.com/Excel-file-in-Tomcat-Virtual-D
uddav wrote:
[...]
In the "conf" directory of your Tomcat installation is a file called
web.xml.
That file contains a section which tells Tomcat about the correspondence
between file extensions and their "mime type".
Check if it contains a section like this one :
xls
applic
> From: uddav [mailto:adi.upr...@gmail.com]
> Subject: Excel file in Tomcat Virtual Dir has junk data in it.
>
> I have set up a Virtual Directory (Directory Listing)
> in Tomcat.
How?
While you're at it, you might want to tell us what version of Tomcat you're
using, a
--
View this message in context:
http://www.nabble.com/Excel-file-in-Tomcat-Virtual-Dir-has-junk-data-in-it.-tp21737355p21737355.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: