• Post Reply Bookmark Topic Watch Topic
  • New Topic

Blank Page displyed using JSF with Facelet

 
Robert Jack
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am getting blank page only.

I created sample JSF project with Facelet in Eclipse. The source code contains basic page with header, content & footer.

I refer the site Help-Eclipse

I deployed war into Tomcat. I am unable to find the problem.

Project Name: JSF-Facelet-Startup

Project coding structure




home.xhtml


basicTemplate.xhtml


header.xhtml


footer.xhtml



web.xml


Help me.
Thanks in advance.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You specified in the web.xml that your welcome page is the basicTemplate page. Shouldn't your welcome page be the home.xhtml page instead?
 
Robert Jack
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Armitage,

Thanks for your well effort.

I sought myself such a carless mistake.

I changed my web.xml, then it works fine

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!