Here's the deal, I've got a login page made from a facelet (xhtml) and each time I run my JSF project, It simply returns a blank page.
If I go to view source, the code is exactly the same as I wrote it, with all jsf tags still there.
Part of web.xml
<welcome-file-list> <welcome-file>faces/myLoginPage.xhtml</welcome-file> </welcome-file-list>
myLoginPage.xhtml header
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
Anybody got any idea as to what might be happening?
Note: If I make the file a .JSP it works, but my preference is to use XHTML, so I'd only like to go with that approach as last alternative