Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in body-content = JSP

 
Hasnain Javed Khan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 9580
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Hasnain Javed Khan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic