Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including JSF pages in a JSP page

 
Abhishek Dwaraki
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • 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 ]
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic