• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp tag for 'title' tag in html  RSS feed

 
Anish Nagraj
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have got a situation where I have got to repalce the <title> tag in html with a jsp tag where the contents of that tag should be displayed only under certain conditions.

Kindly let me know a solution for this.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Conditionals are best handled with the JSTL <c:if> action. Or <c:choose> if the condition is more complex than a simple 'if'.
[ July 18, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!