This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes create a non editable,non savable document viewer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "create a non editable,non savable document viewer" Watch "create a non editable,non savable document viewer" New topic
Author

create a non editable,non savable document viewer

ajithsasi kumar
Greenhorn

Joined: Apr 06, 2008
Posts: 21
My aim is to develop a web portal containing *.doc, *.txt files. The user can only read the document, user should not save or modify the files. How will i develop it using jsp? Help me sir.
[ June 23, 2008: Message edited by: ajithsasi kumar ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

In order for a user to view a PDF, they would need to be able to download it to their local machine. Once it's been downloaded, there is nothing that can be done on the server to prevent it from being saved.
Browsers usually save these to a temporary directory and then open Acrobat with the local path to the file.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Have you checked out Aspose?
 
subject: create a non editable,non savable document viewer
 
It's not a secret anymore!