• Post Reply Bookmark Topic Watch Topic
  • New Topic

body-content

 
kri shan
Ranch Hand
Posts: 1486
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if <body-content>tagdependent</body-content> or <body-content>JSP</body-content>, whether body content may be empty ?
 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kri,

I think you are asking whether a tag body in your JSP can be empty even if it was declared in TLD with <body-content>tagdependent</body-content> or <body-content>JSP</body-content>, right ?

The answer is YES, the fact you declared the tag in TLD with body content JSP or tagdependent does not imply it always have to have a body.

On the other hand, if you declare your tag in TLD with <body-content>empty<body-content> you are obligated to use such tag on your JSP with no body.
[ September 10, 2006: Message edited by: Edisandro Bessa ]
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!