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

one jsp with two forms using include tag  RSS feed

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having two form tage in two different jsf based jsps.

Now I want to use include tag and display both of them using one page.
Will that be possible? Any link.

Or I do need to use only one form even though I use include directive?
 
ved gunjan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
you need to use f:subview for this.you will have to nest your included page inside f:subview

here's an example.
<f:subview id="nestedPage">
<jsp:include page="theNestedPage.jsp" />
</f:subview>

thanks.
ved
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!