| Author |
Doubt in body-content = JSP
|
Hasnain Javed Khan
Ranch Hand
Joined: Nov 23, 2007
Posts: 73
|
|
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.
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
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...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
Hasnain Javed Khan
Ranch Hand
Joined: Nov 23, 2007
Posts: 73
|
|
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.
|
 |
 |
|
|
subject: Doubt in body-content = JSP
|
|
|