This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Body-content of TLD/tag ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Body-content of TLD/tag ?" Watch "Body-content of TLD/tag ?" New topic

Body-content of TLD/tag ?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
one of the Allowed value for Body-content is JSP.
but tag is a java class servlet file...then why JSP is coming into picture. Tag File means JSP page.
but this attribute is present under tag.

does tag handler can be a JSP?
Osama Hasan
Ranch Hand

Joined: Sep 30, 2002
Posts: 53
Here body-content refers to the body of the tag implementation which could me empty,jsp or tag-dependent.Like:
<prefix:tagname>body</prefix:tagname> has JSP body.
<prefix:tagname></prefix:tagname> is empty
<prefix:Query>SELECT count(*) FROM USERS</prefix:Query> can be tag-dependent.
[ July 10, 2004: Message edited by: Osama Hasan ]

SCJP 1.4<br />SCWCD 1.4
I agree. Here's the link:
subject: Body-content of TLD/tag ?
It's not a secret anymore!