File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Content Disposition problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Content Disposition problem" Watch "Content Disposition problem" New topic

Content Disposition problem

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124

I am setting Content-disposition to Inline and filename = test-sql.txt and sending the file to be displayed automatically in IE. IE displays the file properly. If i set the filename = test1-attachment.txt. It opens an infromation bar. I dont know why this open for this file name only. I am using Windows XP with SP2 and IE 6.0. Is this problem because of filename, if so i need to know what is the reason for it.

Thanks in Advance.


I agree. Here's the link:
subject: Content Disposition problem
It's not a secret anymore!