How do i get the name of the file from a file upload form?
But it is possible to get filename of the file which is uploded (I suppose this is your requirement).
Using iws.getWorkingDirectory will give you the current working directory.
Now using the following you can get the filename,just try the last one as well to get the requested parameter(I'm not sure for the last line)
MultipartRequest multi = new MultipartRequest(request, basedir, iSize);
Enumeration files = multi.getFileNames();
String strText = multi.getParameter("txtLink");
Now easily you can enumerate through the file names.