Display « Browser « JSP-Servlet Q&A





1. reading and displaying file of unknown type on the browser.    coderanch.com

I have to display a file from the server on to the browser. All I have the path of the file. The file may be anything, i.e. of any type. I am reading the file in to bytestream array and writing that bytestream to the out stream of the response. The problem here is that I cannot determine the content type ...

2. display rtf in browser    coderanch.com

3. Source code displayed in browser    coderanch.com

8. Displaying The Content of Doc files in Web Browser    java-forums.org

Hi all, I want to implement knowledge management system in my company's portal. For that i want to display the content of the documents present in the server to be displayed in the browser when the user selects any doc file. I am able to do the same in case of pdf file but not able to do with ms word. ...