Skip to Content
0
Former Member
Jul 01, 2009 at 07:44 AM

Read file from client machine and save it on server

26 Views

Hi

I have to read a file from client machine and sae 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