| Author |
problem with file uploading
|
sureshjava
Greenhorn
Joined: Jan 11, 2006
Posts: 1
|
|
i have one problem in file uploading, my problem is while uploading the file if the user clicks on cancel button ,the uploading process should be terminated, plz help me Regards, suri
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
javasureshpmca ponnekanti, Welcome to JavaRanch! We're pleased to have you here with us in the servlets forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. You can change it here Thank you.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Abhinit Saxena
Greenhorn
Joined: Jan 10, 2006
Posts: 18
|
|
Hi suresh, Your question is no very much clear to me. What method you are using for file upload... Is it a web based fileupload or you are using swing based socket connection.. If you are using request.getStream() to get the file stream (in servlet) then you have to create a controller servlet which is listing to user and side by side do file uploading process (using thread) and if servlet got cancel event then it should stop the uploading thread. Same method you can apply in socket based file uploading
|
 |
 |
|
|
subject: problem with file uploading
|
|
|