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 have a method XYZ(org.apache.struts.upload.FormFile file) and a method ABC(java.io.File f). I want to convert file of type java.io.File into struts FormFile, so that I can invoke the method XYZ(FormFile file) within the method ABC(java.io.File f).