• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create a non editable,non savable document viewer

 
ajithsasi kumar
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic