Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

body-content

 
Ranch Hand
Posts: 1491
  • 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 ?
 
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 ]
 
    Bookmark Topic Watch Topic
  • New Topic