Why is scripting disallowed in the body of simple and classic tag.
From I read in chapter 10, we can set the body content of simple and classic tag to JSP, empty, scriptless or tagindependant in TLD. Furthermore, tag directive can be defined to set the body content of tag file to empty, scriptless or tagindependant.
How come the correct answers to the question are A and C only?
Is the limitation written in the book or just in JSP spec?
Hi, I think because simple tags are going to handle the contents of the body as JSP Fragments since scripting is not allowed in JSPFragments it is not allowed in simple tags.But in Classic tags bodycontent object is used to handle the contents so i think JSP is allowed in classic tags.
Please correct me If I am wrong.
with regards<br />s.senthilNathan<br />PH:9819194691