jQuery in Action, 2nd edition*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: create a non editable,non savable document viewer
 
Similar Threads
Technologies for developing SOA and JEE applications
Sr. Java Web Developer
documet viewer
How to demo in Scrum /agile
Development of a tool