select local files in JSF

Dear All,

I am using my own java uploader to upload file. But I don't know how to pass the file name from <input type="file"> to the backing bean. I am using JSF. Can someone please point out a direction? I have been trying this for quite sometime and it's getting very frustrating...

Thanks for your help in advance

Regards

Mary

[368 byte] By [myJSFa] at [2007-10-3 0:16:22]
# 1
Avoid HTML in JSF. Tomahawk, MyFaces and IBM faces have a fileupload component.
BalusCa at 2007-7-14 17:07:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Thanks.

I did try to use Tomahawk, but the browse button and the text box didn't come up...so I use <input type="file"...> instead. Also since the uploader I need to use is from other package.

Do you know why the browse button and the text box didn't appear?

Thanks a lot

myJSFa at 2007-7-14 17:07:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
forgot to ask - any reason why should HTML be avoided in JSF.thanks again
myJSFa at 2007-7-14 17:07:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...