Thursday, May 29, 2003 07:56 PM
I'm writing a JSP/Struts email app. I'm having a hard time with attachments via the Struts FormFile Interface.
I can do the attachments if I write them first in order to get a path but this is unnecessary; they do not need to be saved. Oddly enough, the HTML upload tool with Struts displays the full path of the file once the file is selected from the directory to be uploaded. I can't for the life of my pull this path out via Java. The FormFile interface doesn't have a method to obtain the path. I've been directed to the JAF but this all seems like overkill for something that should be very simple. Any ideas or hint would be GREATLY appreciated.