Hi guyz,
I'm very confused about this thing.
Simple tag cannot have scripting in their body, because JspFragment must not contain any scripting elements.
So the <body-content> tag in tld file, cannot have a value
<body-content>
JSP</body-content>
Now my question is, are classic tags allowed to have scripting in their bodies, i mean can i write something like this :
<%! int i%>
<my:ClassicTag>
<%=i++;>
</my:ClassicTag>
If they are not, then what is <body-content>JSP</body-content> used for. I mean if it is not used with Simple Tag, Tag File, where is it used??
Please clearify....
thankz,
puneet
SCJP, SCBCD 1.3