• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using scripting with standard jstl tags

 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we use scripting with standard JSTL tags like below ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The cut tag body-content is JSP, so scripting is accepted.
[ March 27, 2008: Message edited by: Christophe Verre ]
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, just had a look at JSTL library documentation, found that the body content for most of the tags are JSP.

Does that mean that the tag handlers for these tags are classic tags since simple tag cannot have scripting in its body ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good guess
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, if you sneak in Jakarta's implementation, you'll find out that the cut is an org.apache.taglibs.standard.tag.rt.core.OutTag which extends BodyTagSupport.
[ March 27, 2008: Message edited by: Christophe Verre ]
 
Joshua Antony
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Christophe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic