i have a file placed in client machine when he enters the website address in browser servlet or jsp should automatically upload the file from client machine to web server how to implement it we follod directory hirarchy in client machine where we place the file which is to be uploaded
Using the File Systems in Java(i.e FileInputStreams & FileOutputStreaams) U can easily upload the files of UR choice 2 the webserver.
Read the file using Reader N check 4 the end of line or fileN the output the file.
Else go N check the Oreilly site there U will have how 2 use the multipart request data (it is a java file)U can download it from the site N use it.
That source is written in Servlets.
I think that will solve UR problem.