struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitc...@telocity.com>
Subject RE: Upload problem
Date Mon, 04 Nov 2002 22:35:17 GMT
If you are depending on the framework to stream the file, then yes.  But
that does not appear to be what you are doing.

Other than searching the mail archives for your server/container, I'm all
out of suggestions.


James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former."
- Albert Einstein (1879-1955)


> -----Original Message-----
> From: Shunli Yang [mailto:shunliy@yahoo.com]
> Sent: Monday, November 04, 2002 5:16 PM
> To: Struts Users Mailing List
> Subject: RE: Upload problem
>
>
> James,
> Do I need to set the response content type? I just
> download the files directly through the url.
>
> --- James Mitchell <jmitchtx@telocity.com> wrote:
> > Well, not sure how the others are handling it, but
> > are you setting the
> > response content type correctly?  I don't usually
> > have problems generating
> > or downloading excel files that open within IE.
> >
> > James Mitchell
> > Software Engineer/Struts Evangelist
> > http://www.open-tools.org
> >
> > "Only two things are infinite, the universe and
> > human stupidity, and I'm not
> > sure about the former."
> > - Albert Einstein (1879-1955)
> >
> >
> > > -----Original Message-----
> > > From: Shunli Yang [mailto:shunliy@yahoo.com]
> > > Sent: Monday, November 04, 2002 5:09 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: Upload problem
> > >
> > >
> > > IE is trying to open the file within the browser.
> > I
> > > can open doc (word) and txt files. Xls and ppt can
> > be
> > > loaded in IE with another web server(jrun) +
> > Hunter
> > > upload package.
> > >
> > > Thanks for your help!
> > >
> > > Shunli
> > >
> > > --- James Mitchell <jmitchtx@telocity.com> wrote:
> > > > Well, that would be due to the 'IE sucks' bug
> > that
> > > > was discovered shortly
> > > > after its initial release.
> > > >
> > > > But seriously, it sounds like this is your
> > browser
> > > > settings.  Is IE trying
> > > > to load the application and file within the
> > browser?
> > > >  Or is it launching
> > > > separate?
> > > >
> > > >
> > > >
> > > > James Mitchell
> > > > Software Engineer/Struts Evangelist
> > > > http://www.open-tools.org
> > > >
> > > > "Only two things are infinite, the universe and
> > > > human stupidity, and I'm not
> > > > sure about the former."
> > > > - Albert Einstein (1879-1955)
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Shunli Yang [mailto:shunliy@yahoo.com]
> > > > > Sent: Monday, November 04, 2002 4:34 PM
> > > > > To: Struts Users Mailing List
> > > > > Subject: RE: Upload problem
> > > > >
> > > > >
> > > > > Yes, I can read the file from server and
> > Netscape
> > > > > browser. But Not IE??!!! Why??
> > > > >
> > > > > --- James Mitchell <jmitchtx@telocity.com>
> > wrote:
> > > > > > So the issue could be either the upload or
> > the
> > > > > > download.
> > > > > > Have you tried to open them directly from
> > the
> > > > > > server? (assuming it has those
> > > > > > apps installed)
> > > > > >
> > > > > > James Mitchell
> > > > > > Software Engineer/Struts Evangelist
> > > > > > http://www.open-tools.org
> > > > > >
> > > > > > "Only two things are infinite, the universe
> > and
> > > > > > human stupidity, and I'm not
> > > > > > sure about the former."
> > > > > > - Albert Einstein (1879-1955)
> > > > > >
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Shunli Yang
> > [mailto:shunliy@yahoo.com]
> > > > > > > Sent: Monday, November 04, 2002 3:42 PM
> > > > > > > To: Struts Users Mailing List
> > > > > > > Subject: Re: Upload problem
> > > > > > >
> > > > > > >
> > > > > > > Thanks for your reply.
> > > > > > > Once I click the url of this document,
> > File is
> > > > > > open
> > > > > > > with some unreadble codes. Looks like IE
> > can
> > > > not
> > > > > > open
> > > > > > > the file with proper application. It's
> > working
> > > > > > under
> > > > > > > Netscape.
> > > > > > >
> > > > > > >
> > > > > > > --- David Graham <dgraham1980@hotmail.com>
> > > > wrote:
> > > > > > > > What do you mean by "view"?
> > > > > > > >
> > > > > > > > David
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > >From: Shunli Yang <shunliy@yahoo.com>
> > > > > > > > >Reply-To: "Struts Users Mailing List"
> > > > > > > > <struts-user@jakarta.apache.org>
> > > > > > > > >To: Struts Users Mailing List
> > > > > > > > <struts-user@jakarta.apache.org>
> > > > > > > > >Subject: Upload problem
> > > > > > > > >Date: Mon, 4 Nov 2002 12:17:37 -0800
> > (PST)
> > > > > > > > >
> > > > > > > > >Hi,
> > > > > > > > >I'm using Struts1.1b to work on upload
> > > > > > application.
> > > > > > > > >Documents can be uploaded successfully
> > to
> > > > the
> > > > > > File
> > > > > > > > >system. But I can't view uploaded
> > documents
> > > > > > like
> > > > > > > > xls,
> > > > > > > > >power-point files properly.
> > > > > > > > >Any body has similar problem?
> > > > > > > > >
> > > > > > > > >Thax in advance!
> > > > > > > > >
> > > > > > > > >Shunli
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > >__________________________________________________
> > > > > > > > >Do you Yahoo!?
> > > > > > > > >HotJobs - Search new jobs daily now
> > > > > > > > >http://hotjobs.yahoo.com/
> > > > > > > > >
> > > > > > > > >--
> > > > > > > > >To unsubscribe, e-mail:
> > > > > > > >
> > > > > >
> > > >
> > ><mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > > > > > > >For additional commands, e-mail:
> > > > > > > >
> > > > ><mailto:struts-user-help@jakarta.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> _________________________________________________________________
> > > > > > > > Protect your PC - get McAfee.com
> > VirusScan
> > > > > > Online
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > > > >
> > > > > >
> > > >
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > > > >
> > <mailto:struts-user-help@jakarta.apache.org>
> > > > > > > >
> >
> === message truncated ===
>
>
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message