I am using Turbine as my app server.. I have a directory in my webapp with the xls files that I just reference.. I am not going through a servlet or anything, it is just being serverd by tomcat.. I'll try and dig up more info..
Eric -----Original Message----- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of anders Sent: Wednesday, June 05, 2002 4:03 PM To: [EMAIL PROTECTED] Subject: Re: Open an EXCEL file from IE Eric, I can't even open an existing excel file. The dialog box indicated my file is abc.xls from localhost. But Execl open an blank abc[1].xsl file. If I specify the location of the file, The dialog box indicated my file is my serlvet from localhost, and I got an error for "cannot locate the file" . Where did you place your xls file? Anders "Eric Pugh" <[EMAIL PROTECTED]> wrote in message 004501c20cc8$018e7120$[EMAIL PROTECTED]">news:004501c20cc8$018e7120$[EMAIL PROTECTED]... > Chris, > > I ended up punting back to something like that.. And if I can use a > file:/// url to reference the file locally, everything works fine. However, > with my version of ID, when I reference the website, it opens the file on my > browser screen, and I get lots of gobblygook intermixed with the actual > content! How can I tell IE that is should hand off to Excel any .xls files? > > Is it something in IE or windows that needs to be set? > > Eric > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 3:29 PM > To: POI Users List > Subject: RE: Open an EXCEL file from IE > > > > > When the right way to do it won't work.... > > I was originally writing the xls to the servlet response stream. This proved > to be > wildly inconsistent across different browsers. IE even exhibited a few > different > behaviors (depending upon whether Excel was already open on the > desktop,etc...) > I ended up writing the bytes to a temp .xls file on the server and > redirecting > to that. In IE the xls opens up in the browser. It's a bit more overhead to > do the IO > obviously but it works consistently from a user standpoint - and that's all > my user's > care about ;) > > You need a background thread to remove the temp files after a period of time > also. > > -Chris > > > > > > Eric Pugh <[EMAIL PROTECTED]> on 06/05/2002 03:00:55 PM > > Please respond to POI Users List <[EMAIL PROTECTED]> > > To: 'POI Users List' <[EMAIL PROTECTED]> > cc: > Subject: RE: Open an EXCEL file from IE > > > > I would love to see that as well.. I am having the same issue, I have to > have the user rightclick the link and save to the desktop.. If there was a > contrib directory, this type of servlet might be a good addition. > > Eric > > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED]]On Behalf Of anders > Sent: Wednesday, June 05, 2002 2:56 PM > To: [EMAIL PROTECTED] > Subject: Open an EXCEL file from IE > > > I tried the suggestion in "HSSF: Can workbooks come up from IE?". > > I used a servlet to send an excel file to the client, But it does not work! > > Could somebody post an example? > > > Thank you! > > Anders > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
