value="#{fileUploadForm.upFile}"
sets the value of file name in the backing bean. upFile is basically a setter for a field of type UploadedFile.
Use the following to grab the input stream
upFile.getInputStream()
That way you don't have to worry about the file name.
Cheers,
-M
RFDot <[EMAIL PROTECTED]> wrote:
Meghana - Thanks for the reply, I need a little more to go on.
Does one use the FacesContext then to locate the correct file that was
uploaded by a specific user upload. I want to make sure that I grab the
correct upload_0000000x.tmp file and write it to the new location as the
correct file name like myExcel.xls or myPicture.bmp
etc.
--
View this message in context: http://www.nabble.com/JSF-Tomahawk-File-upload-file-name-and-location-t1811443.html#a4939324
Sent from the MyFaces - Users forum at Nabble.com.
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.

