How to open the office file directly in IE:
Java: How (do not set in the Client: Folder Options-file type-advanced-browse in the same window)
Open an office file in IE just like opening txt, PDF, and jpg? Does the File Download window appear?
Set:
Response. setcontenttyper (contenttype );
Response. setheader ("content-disposition", "inline; filename = \" "+ filename +" \ ";"); or not.
How can I implement it using JS or Java?
On the Control Panel, double-click "Folder Options", select the "file type" tab, and select a file type Extension in office,
Click the "advanced" button to deselect the check box before "download and confirm to open", and select Browse in the same window.
Note: the customer does not want to set it on the client.
That is to say, how to open the office file directly in IE, in addition to the manual settings above, use JS or JavaCodeIs it possible? Or other methods, without any plug-ins