Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to include jsp page in xhtml file?  RSS feed

 
Vinay karthik
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Myfaces 2 facelets.
I have to include a jsp page in a xhtml file.
I tried using ui:include but it takes only xhtml.
I also tried using c:import and f:subview but nothing worked.
Googled a lot but didn't get the exact answer.

Can anybody give me an exact syntax of it.

Thanks in advance,
Vinay
 
Juan Manuel Diaz
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!,

Why you need to include a jsp into a facelet?

JM
 
shree lk
Greenhorn
Posts: 14
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this..

<ui:include src="/mypage.xhtml" />
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!