I want to upload doc or docx file using primefaces fileUpload,although I specify the type of file it display Invalid file type
I found the solution,I forgot to add to the fileupload component inside
functional code is as follows: