This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
On the server side, how are you delivering this document?
Are you using requestDispatcher.forward?
Are you streaming the document?
Or, are you just adding the document name to the URL and letting Tomcat's default servlet stream it?
Is "doc_to_open" just something you added when posting here or was that part of an actual URL?
Does this same behavior occur with other browsers, like FireFox?
kamesh aru
Ranch Hand
Joined: Mar 16, 2002
Posts: 150
posted
0
doc_to_open = 20080103WC_01.html
This occurs in all browsers in firefox it downloads the file and opens it.
yes just adding the document name to the URL and letting Tomcat's default servlet stream it
Do you have either the LiveHttpHeaders or the FireBug plugin installed in Firefox?
If you do, can you look at the headers and see if the server is sending a Content-Type header?
If it is, what is its value?
kamesh aru
Ranch Hand
Joined: Mar 16, 2002
Posts: 150
posted
0
yes checked the http headers
content-disposition is attachment ... how to over ride it on the tomcat server any configuration we can make to change it to inline.. i suppose which might open it with out the dialog box.
I'm not seeing this behavior in Tomcat 6 on my machine.
Can you try running this small application and see if the same behavior exists?
http://www.souther.us/att.war If not, can you create a small application that reproduces this problem and make it available for download?
kamesh aru
Ranch Hand
Joined: Mar 16, 2002
Posts: 150
posted
0
following link helped in writing a filter to replace attachment with inline
servlet filter thanks for the responces