Neither way should work at all.  You need to have proper HTML 4.0 structure. JSF is no different.  In the first one you have f:view in the body but it should be AFTER the <Center> opening tag for proper HTML structure.  The second one is a really awful layout because you have f:view at the top before the opening HTML tag but you end it completely out of order in the BODY before a closing CENTER (followed by closing HTML tag).  That is really not good HTML structure and like I wrote I am surprised your first one worked at all.
 
Regards,
David
 

Reply via email to