DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42646>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42646 Summary: Content-disposition on ia64 causes request to break Product: Tomcat 4 Version: 4.1.36 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, I have some code that works on other version of Tomcat, that sets the Content-disposition header to "attachment" so the download dialog appears in the browser, the problem is that this same code doesn't work under Tomcat 4.1.36 on ia64. This is the output of uname -a: Linux poseidon 2.4.21-40.EL #1 SMP Thu Feb 2 22:12:47 EST 2006 ia64 ia64 ia64 GNU/Linux The code is pretty much like this: HttpServletResponse resp = cycle.getRequestContext().getResponse(); output.setContentType("text/plain"); resp.setHeader("Content-disposition", "attachment; filename=\"" + fileName + "\""); it is done in Tapestry but as I said, the same code works under Linux (on a VM on my Windows machine) and under Windows. The output log sometimes shows ClientAbortException, but with the code I'm copying, it doesn't send anything to the browser... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]