Unable To Fetch FilePath From The FormFile, Struts,
July 3, 2007 at 2:41 PM
Hi, I have a requirement in which we have to show a browse button which should open a file browser. So that user can select a file. After that I have to pass that full fileName with path to another system. So I am using <html:file property="theFile" /> tag with
But when I am trying to get the fomrFile.getFileName() in my action class it returns me just the FileName not the path and there doesn't seem to be any other method which can return me the filePath..