• Post Reply Bookmark Topic Watch Topic
  • New Topic

Re: Selectively show/hide include file

 
Joe Cheung
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

In JSP, it is often to include some .inc files to generate the static layout using the syntax such as

<jsp:include page="inc/header.inc" flush="true" />

How can I show/hide the content of "inc/header.inc" based on some java objects like java bean?

Thanks,
Joe
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use core tags of JSTL or another control flow.


or
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!