2 Replies Latest reply: Jul 1, 2009 7:31 AM by 807588 RSS

    Read file from client machine and save it on server

    807588
      Hi

      I have to read a file from client machine and save it on server machine.
      i.e. transfer file from client machine to server machine.

      Now what location shall I use to write file.
      Shall I hardcode the path !
      In this case will this work on production environment.

      e.g. If i hardcode path as c:\myfolder on my development machine, then what if it does not exist on testing or production environment !
      Is there not any place on J2EE admin or somewhere which is common on all environments, ie. development, testing and production.

      Thanks