• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic