> The only problem is now that IExplorer
> doesn't open Excel automatically (Netscape does), or can I do
> something for
> this? I tried to stream to the client an xls from a servlet that specifies
> the content-type without having better result.

1/ set content-type to "application/x-excel"
2/ make your link end with .xls EG:
http://mysite.com/context/servlet/org.apache.test/x.xls?param=value

This works, M$IE recognises "x.xls" as an excel file, and tomcat will call
org.apache.test.doGet(), and pass in the parameters correctly, to generate
it.
M$IE opens Excel in a COM in-browser process.
You can also use the URL in the File->open dialogue of Excel to open the
generated xls file directly without using IE.

d.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to