RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-05 Thread Shapira, Yoav
Hi, >save the document. From a servlet using the ...xls in the URL I can prevent >the question whether I want to open the document, it will be opened without >any questions. Subject to user configuration. Servlets with that still prompt the question on my browser. Unless you control all users'

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-05 Thread Zsolt Koppany
No, it didn't help. Zsolt On Thursday 05 September 2002 01:56, Justin Ruthenbeck wrote: > Have you tried Randy Paries' suggestion about appending a bogus parameter > like this: > > http://www.host.com/myApp/account/users/results.jsp?a=.xls > > I've seen this work for jpg and swf files before --

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Justin Ruthenbeck
Have you tried Randy Paries' suggestion about appending a bogus parameter like this: http://www.host.com/myApp/account/users/results.jsp?a=.xls I've seen this work for jpg and swf files before -- curious if this will solve your problem... justin At 04:19 PM 9/4/2002, you wrote: >I do use s

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Zsolt Koppany
I do use setContentType(), but I do get asked by IE whether I want to open or save the document. From a servlet using the ...xls in the URL I can prevent the question whether I want to open the document, it will be opened without any questions. Zsolt On Wednesday 04 September 2002 20:46, Just

RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Randy Paries
ECTED]] Sent: Wednesday, September 04, 2002 1:47 PM To: Tomcat Users List Subject: Re: How to get Excel directly started using response.setContentType(...) from JSP? Zsolt -- Guess I'm a bit confused why you wouldn't want to use the setContentType() method in your jsp ... this is how a pr

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Justin Ruthenbeck
Zsolt -- Guess I'm a bit confused why you wouldn't want to use the setContentType() method in your jsp ... this is how a problem like this is normally solved (and why the method exists in the first place). Regardless, you can also do it by extension on your jsp. Depending on how your projec

RE: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Shapira, Yoav
y the user, who can assign an arbitrary application to each extension. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, September 04, 2002 2:57 AM >To: [EMAIL PROTECTED] >Subject: How to get Excel di

How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-03 Thread Zsolt Koppany
Hi, I can get Excel directly started from a servlet using two things: 1. response.setContentType("application/vnd.ms-excel"); 2. the servlet path ends with result.xls (like /servlet/abc/result.xls?p=1) I can use response.setContentType(...) from JSP too, but I was not able to use a JSP path to