• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Including JSF pages in a JSP page

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to include a JSF page with all faces-components in my JSP page. I have used the <jsp:include page> tag to include the JSF page, but the JSF components are not being rendered. Only the text present in the JSF page is being rendered. Could someone advice me on how to overcome this problem....? Also the output is very variable with the text being rendered sometimes and not being rendered the other times. Is it something to do with my mapping in web.xml...?
I have included the JSF file like shown below...

<jsp:include page="sample.faces" flush="true" /> and my current mapping in web.xml is for *.faces. Plz help soon. Thanks in advance...

[bear edit: removed URGENT from title]
[ March 15, 2006: Message edited by: Bear Bibeault ]
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
- Remove "URGENT" from your subject line
- It would be better answer in JSF Forum

Where is your faces-config.xml file?
Have you tried a JSF simple/example page, like hello world?
 
Check your pockets for water buffalo. You might need to use this tiny ad until locate a water buffalo:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic