• Post Reply Bookmark Topic Watch Topic
  • New Topic

Scripting code in tag

 
V Gala
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are scripting code valid in tag body?

If no then what jsp element can be used in body of tag if <body-content>JSP</body-content>
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is valid for Classic Tags only.
 
John Pearson
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Classic tags, you can use scripting code in the body if you specify <body-content>JSP</body-content>.

For Simple tags, the body cannot have any scripting code, and you cannot use <body-content>JSP</body-content>.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!