tags:

views:

47

answers:

2

While i am serving text/html resource resource i want to make it the resource as readonly. And we need to restrict editing the readonly attribute who is downloading the resource

+4  A: 

You cannot control that: when servlet's content is served, it can be stored in a file, a db, etc for later use. This goes beyond servlet (and HTTP) possibilities.

dfa
A: 

That's not possible. You better think about serving a PDF instead.

mkoeller
Can't we edit PDF?
Madhu