I want to save a file with read-only options through a servlet.Can someone shed some taughts.
Thanks.
(fyi..I went through this link,so need some other ways through which this can be done. Ma开发者_JAVA百科king servlet serve READONLY text/html resource)
Use File.setWritable(false)
.
精彩评论