2 Replies Latest reply on Aug 25, 2009 7:48 AM by Alexander Urieles

    Deciding on File Upload's Location

    Alexander Urieles Newbie

      Hi,

      While developing a web application I got stuck on file upload's issues:
      1.- How do I choose a proper non-volatile location with writing privileges?
      2.- Can be the "deploy\myapp.war" folder a good location or it's reset on each server's restart?

      Thanks in advance,

      Alexander Enrique Urieles Nieto
      Systems Engineering Student
      National University of Colombia - Bogota

        • 1. Re: Deciding on File Upload's Location
          jaikiran pai Master

           

          2.- Can be the "deploy\myapp.war" folder a good location or it's reset on each server's restart?


          It's not reset on each server restart. But remember that any application upgrades which you or your team mates might be doing may lead this folder to be deleted. So placing the uploaded files within that folder is not a good idea.


          • 2. Re: Deciding on File Upload's Location
            Alexander Urieles Newbie

             

            "jaikiran" wrote:
            It's not reset on each server restart. But remember that any application upgrades which you or your team mates might be doing may lead this folder to be deleted. So placing the uploaded files within that folder is not a good idea.


            That means the only way is talking with the JBoss' Administrator to guaranteed a folder in the outside, isn't it?

            Really there's no other way?

            Thanks,

            Alex.