If you don't want a true "upload" (for whatever reason) or want the
image to show before or during the upload ("preview"), try doing a new
Image(myFileUpload.getFilename()).
Note that it won't work on some browsers (Opera at least), on which
getFilename() returns only the file name, without the path.
As for Michael's answer, I'd rather return JSON than XML (far easier
and lightweight to parse), or even just the image URI as "text/uri-
list" (see section 5 of
http://www.ietf.org/rfc/rfc2483.txt) or "text/
plain"