I have read in Hanwant Deshmukh SCWCD book that " a SimpleTag's body must not contain scripts - no declarations, expressions, or scriplets. Hence for SimpleTAgs's body , you cant set the <body-content> as JSP ..
My question why is this restriction in SimpleTag while we can use the same in custom Tag ?
Many Thanks in advance ! Regards, Somesh
posted 7 years ago
because SimpleTag came after ClassicTag and hence is better in terms of avoiding scriptlets.......