Re: [Stripes-users] StreamingResolution +IE6 problem

2009-10-22 Thread Terrell Weatherford
We ran into this problem and found a solution a few months ago. Setting the Cache-Control header to "" (blank) or "private" seemed to fix the https and PDF issue from what I recall. On Thu, Oct 22, 2009 at 6:04 PM, Alex Wibowo wrote: > Hi guys... > > > Thanks a lot for the reply. It turns out tha

Re: [Stripes-users] Multiple @HandlesEvent

2009-10-22 Thread Alex Wibowo
Oh sorry... i didnt see your method name >.< apology.. hmmm ... if thats the case why cant you just use one event name (and method)... say 'persist' ? trying to understand what you are trying to achieve by having two different event handler there, with one just calling to another >.< 2009/1

Re: [Stripes-users] StreamingResolution +IE6 problem

2009-10-22 Thread Alex Wibowo
Hi guys... Thanks a lot for the reply. It turns out that the bug was due to something else. We store something in the cookie. Which causes the following http header to be sent Cache-Control: no-cache="set-cookie" and when IE6 sees this header, it deletes the file :( the fix for us, is not to

Re: [Stripes-users] StreamingResolution +IE6 problem

2009-10-22 Thread RomeoAD
Alex Wibowo writes: >THat will popup a dialog, where user can choose to open, save or cancel.Saving >is fine, but choosing to 'open' it in IE6 will open acrobat reader, with error >message 'file cannot be found'. I had similar problem using HTTPS and disabling caching. It seems that IE reads att

Re: [Stripes-users] StreamingResolution +IE6 problem

2009-10-22 Thread Marcus Kraßmann
Hi Alex, do you somewhere use the stripes-provided StreamingResolution class? Passing in the parameters ContentType, InputStream and filename creates a working StreamingResolution for me - in IE6, too. Manipulating the response itself should not be neccessary as well as (anonymously) subclassing S

[Stripes-users] StreamingResolution +IE6 problem

2009-10-22 Thread Alex Wibowo
Hi all, I'm having a problem with IE6. My code is as follow: --- BufferedInputStream bis = new BufferedInputStream(new FileInputStream("c:/bla.pdf")); ByteArrayOutputStream baos = new ByteArrayOutputStream(); respons