Kaiser
Try declaring MIME TYPE Mappings in your web.xml application descriptor.
This (along with most other things is available from in the Java Servlet
Specification 2.3 (or whatever version your copy of tomcat uses). It is
freely downloadable from sun.
Mike Dennison
-----Original Message-----
From: kaiser [mailto:kaiserm22@y...]
Sent: 10 March 2003 16:04
To: Pro_JavaServer_Pages
Subject: [pro_jsp] HELP!! HOW to DISPLAY excel document inside IE using
JSP
Hi,
I am kinda new to JSP,
I am trying to display an excel document using JSP in Interent Explorer.
But everytime I try it, it opens the excel document on a different excel
window.
I want it to open the excel document inside Internet explorer.
I tried it doing it two different ways :
a)
<%@ page contentType="application/vnd.ms-excel" %>
this doesnt work
b) this works but it doesnt open it inside Interent explorer
<%response.setContentType("application/vnd.ms-excel");%>
Could anyone show me an example, how I can open the excel document inside
Internet explorer.
Thank you
PSS : I am using TOMCAT server to run JSP