Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Viewing files  RSS feed

 
Sona Bhavani
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my application i am uploading a file and later on request displaying the file by getting the relative path of the file which i have stored earlier in a database while i uploaded it.This works fine for all file types that is mpg,gif,jpeg,txt,swf as i am setting the response of the content apprpriately while viewing it.But in the second version of this application i was supposed to encrypt the file before uploading it.I decrypt the file before displaying it.Now i am facing a problem.The file can be viewed but the Tomcat Apache Server displays an Severe Error in action.Even after this error i am able to continue to run the application.If the file is too large then nothing is displayed though the file is being decrypted properly.
Can anyone help me out with this problem.
Thanks.
Sona.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!