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:
--
View this message in context:
http://www.nabble.com/StreamingResolution%2C-and-IE6-problems-when-Save-File-tp21874674p21874674.html
Sent from the stripes-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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