• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

body-content

 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if <body-content>tagdependent</body-content> or <body-content>JSP</body-content>, whether body content may be empty ?
 
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic