I used the <html:file> tag provided by Struts for file upload. However, I need to check if the file actualy exist before I do the transfer so I need the full path and file name. Could anyone tell me how I could get this? The getFileName() method of FormFile only returns the base file name.
I read somewhere that the Jakarta commons upload class such as the CommonsMultipartRequestHandler can be used to get the full file name. Can't seem to make it work and I can't find any examples. Also tried to look for threads with similar subject here but most of them have no replies.