In the custom tag development, I understand from the HFSJ book that we can specify one among four different values for <body-content> in TLD (empty, scriptless, tagdependent & JSP). But on page 512 of the book, second paragraph says "JSPFragment is that it must NOT contain any scripting elements!". When I use <body-content> JSP, I think I can use scripting in the tag body, can't I? Please clarify me.
Thanks and Regards,
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
posted 7 years ago
Yes those four values apply to Classic Tags
However, for simple tags, you've got just three... JSP is not for SimpleTags