Paulo, is this over SSL? There are known issues with SSL and IE6 and file
downloads. It's worth a look if you're using SSL. I think we still have an
open issue in our JIRA about this, too.
http://support.microsoft.com/kb/323308
If not SSL, then you might want to see if there is actually a file with that
name in your IE6 temp directory that's preventing the browser from saving a
new file with that name because of permissions or because another process
has it open or something.
That's all I can think of.
-Ben
On Fri, Feb 6, 2009 at 10:28 AM, Paulo Hélio Alves <
[email protected]> wrote:
>
> Hello!
>
> First off all, sorry for my bad English.
>
> I'm using Stripes 1.5, Java 1.6 and Jboss 4.2.3, Windows Vista, and I have
> some problems with StreamResolution and IE6.
>
> What's uppen is something like this:
>
> When i take the file to be downloaded, generate one InputStream, and i past
> to StreamResolution with the content type, like this:
>
>
> public Resolution generateReport() throws IOException {
> user = service.findbyId(id);
> fileChoosed =
> "File_"+SpecialCharFilter.replaceSpecial(user.getName()).trim().replace("
> ","_")+".pdf";
> InputStream in = recruitmentService.generateInterviewReport(id);
> return new StreamingResolution(getContentTypeTrial(fileChoosed),
> in).setFileName(fileChoosed);
> }
>
> public String getContentTypeTrial(String file){
> ...
> return "application/pdf";
> }
>
> The result is the IE6 cannot open the file because he cannot save the file
> in his temporary files directory.
>
> The most strange is, if i take off the ".setFileName(fileChoosed)", he save
> the file well, but with the name of the action.
>
> Everythings work fine in FF and IE7, and Chrome, only IE6 is a very strange
> browser.:confused:
>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users