Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Example of Empty tag " Watch "Example of Empty tag " New topic
Author

Example of Empty tag

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 437
Hi,
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
Sheriff

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é
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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 : http://faq.javaranch.com/view?ScwcdLinks


[My Blog]
All roads lead to JavaRanch
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Example of Empty tag