I fixed this. It turns out that IE5.5 does have a bug. Unlike IE6 where you can set either the content type or the content disposition in the HTTP header to force a "save as" dialog box when downloading a file of a given mimetype, IE5.5 needs you to set both.

I added in the content disposition, and it now works:


StandardBrowserRequest br = (StandardBrowserRequest) request.getBrowserRequest();

String extraPath = br.getExtraPath();

setHeader(request, "Content-Disposition","attachment;filename=" + extraPath);

setContentType(request,"text/x-application-download");


Seems like you've had quite a tough time with ie5.5
Yeah, I've come across some pretty quirky bugs with IE5.5, though I think the quirkiest browser yet is NN4.x