• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Blank Page displyed using JSF with Facelet

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic