i wanted to accept @BalusC answer but i don't know why he deleted the answer
as you can see in the edited part , the .xhtml
format was wrong (the true .xhtml part is in edited part)
and also the resources folder was wrong that it corrected in edited part
thank you @BalusC