• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Tags..

 
Manwatkar Vaibhav
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether a Tag (extending TagSupport or SimpleTagSupport) can have a boday-content of Scripting elements..

Ex :
<my:tag>
<% out.println("Hi"); %>
</my:tag>

What are the valid body-contents for both type of tags..?
 
Mirko Bonasorte
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
JSP, scriptless, tagdependent, empty.

JSP is not valid for SimpleTags.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!