This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I wish to upload a file using struts (this is succesfull, in my action class i have a FormFile) now i want to email this file. How do i get from a FormFile to a File. Is there a way to get the absolute path from the FormFile, or is there another way so i can mail the uploaded file?