I added to web.xml  ( on both, server level and application level) the
following clause
<mime-mapping>
        <extension>xls</extension>
       <mime-type>application/vnd.ms-excel</mime-type>
      </mime-mapping>

and then restarted the server, but still got the same result
Am I using the right set up?
thanks



On 10/15/07, Len Popp <[EMAIL PROTECTED]> wrote:
>
> On 10/15/07, David Delbecq <[EMAIL PROTECTED]> wrote:
> > alla winter a écrit :
> > > I would appreciate if you would give me a hint, what should I do to
> make
> > > browser to display excell spread sheet when href to .xls file is
> selected?
> > > It displays the raw file insted.
> > >
> > > <a href="/cobra_source/beneficiary_template.xls"
> > > target="_blank">Excel template </a>
> > >
> > > P.S.  I am using Tomcat 5.0.28 and jdk 1.5.0._12
> > >
> > > thanks for your help
> > >
> > >
> > in the web.xml of your webapplication, you should properly define the
> > contentype for .xls files.
>
> Specifically,
>    <mime-mapping>
>        <extension>xls</extension>
>        <mime-type>application/vnd.ms-excel</mime-type>
>    </mime-mapping>
> In later versions of Tomcat, the default configuration has this mapping.
> --
> Len
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to