i tried so to get uploaded file absolute path but i didn't find a solution : i know that i can't get the uploaded files absolute client side path. Limitation of the browser since that is considederd a security risk. so if i use p:uploadeFile simple mode :[ http://www.primefaces.org/showcase-labs/ui/fileUploadSimple.jsf][1]
It will be an inputText field containing the absolute path of the selected project so can i retrieve it in my managed bean before clicking on the submit button (i mean uploading the file to the server the file to server )
<p:fileUpload value="#{fileUploadController.file}" mode="simple"/> <p:commandButton value="Submit" ajax="false" actionListener="#{fileUploadController.upload}"/> And many thanks