my dog learned polymorphism
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Example of Empty tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Example of Empty tag " Watch "Example of Empty tag " New topic

Example of Empty tag

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 437
Can you give an example for empty tag with regard to JSTL?
With regards,
Padma priya N.G.

Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

If you look in your TLD file for any of the JSTL taglibs, you can search for the ones that have a body-content of empty.

A good workman is known by his tools.
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
Sometimes it is hard to locate the tld for JSTL especially if is supplied by the container.

I am curious. Do you mean an empty custom tag or JSTL tag? Most of the JSTL tags can have a body.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Sometimes it is hard to locate the tld for JSTL

Then look at the specification, and check for empty tags. You can find the JSTL spec here :

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Example of Empty tag
It's not a secret anymore!