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?