Forums Register Login

Doubt in body-content = JSP

+Pie Number of slices to send: Send
Hello All,

I have some confusion when the body content value is assigned JSP in tld file for a tag's body.What can and can not go inside the tag body when body-content is JSP. Just to make my question clear

For scriptless:
Can Have: template text,EL,custom and standard actions.
Can not have : scriptlets, scripting expressions, and declarations.

For JSP:
Can Have: template text,EL,custom and standard actions.
Can not have : ? (or can have anything)

Kindly correct me if I'm wrong for the above statements.

Kind Regards.
Hasnain Javed.

+Pie Number of slices to send: Send
 

For JSP:
Can Have: template text,EL,custom and standard actions.
Can not have : ? (or can have anything)


For body content of type JSP, the body can have anything that can go in a normal JSP i.e. template text,EL,custom, standard actions, scriptlets, scripting expressions and declarations...
+Pie Number of slices to send: Send
 

Ankit Garg wrote:

For JSP:
Can Have: template text,EL,custom and standard actions.
Can not have : ? (or can have anything)


For body content of type JSP, the body can have anything that can go in a normal JSP i.e. template text,EL,custom, standard actions, scriptlets, scripting expressions and declarations...



Thanks Ankit for the clarification.

Kind Regards.
Hasnain.
Let nothing stop you! Not even this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1001 times.
Similar Threads
Ragarding TagFiles.
a doubt on JspFragment
Simple vs Classic Tags - When ?
Template Text
Default value of body-content
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:00:30.