• Post Reply Bookmark Topic Watch Topic
  • New Topic

conditional display using <div> in jsp

 
siddhartha Mondal
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i am a beginer in jsp. i wanted to how to implement conditional display using jsp??
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35743
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a set of tags called JSTL. You can use the c:if tag to selectively include/exclude parts of a JSP. There is also c:choose if you need an if/else construct.

And welcome to CodeRanch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!