Pls check http response headers for the request to confirm if it's
returning proper headers.

Once they are in place then it may be to do with browser settings not
processing headers.



On Tue, Jan 12, 2021, 2:48 PM Jonnalagadda, Swathi (External) <
swathi.jonnalaga...@xerox.com> wrote:

> Hi Team
>
> We have an application deployed in tomcat9.0.38 server which generates an
> xls file dynamically and saves at server end. When we try to access the
> file using application frontend, it is neither showing up in excel format
> nor showing up pop up to save the file instead it is showing the content of
> xls file in xml format directly on the browser.
>
> Below mime type is set both at web.xml of webapplicatio end and as well as
> Tomcat9038/conf/web.xml
>
> <mime-mapping>
>     <extension>xls</extension>
>     <mime-type>application/vnd.ms-excel</mime-type>
>     </mime-mapping>
>
> Could you please help in resolving the issue ASAP
>
>
> Thanks
> Swathi
>

Reply via email to