Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Viewing files  RSS feed

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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!