Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Viewing files

Sona Bhavani
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic