A tag library exercising SimpleTag handlers.
1.0
SimpleTagLibrary
/SimpleTagLibrary
Outputs Hello, World
helloWorld
jsp2.examples.simpletag.HelloWorldSimpleTag
empty
Repeats the body of the tag 'num' times
repeat
jsp2.examples.simpletag.RepeatSimpleTag
scriptless
Current invocation count (1 to num)
count
num
true
true
Populates the page context with a BookBean
findBook
jsp2.examples.simpletag.FindBookSimpleTag
empty
var
true
true
Takes 3 fragments and invokes them in a random order
shuffle
jsp2.examples.simpletag.ShuffleSimpleTag
empty
fragment1
true
true
fragment2
true
true
fragment3
true
true
Outputs a colored tile
tile
jsp2.examples.simpletag.TileSimpleTag
empty
color
true
label
true
Tag that echoes all its attributes and body content
echoAttributes
jsp2.examples.simpletag.EchoAttributesTag
empty
true
Reverses the characters in the given String
reverse
jsp2.examples.el.Functions
java.lang.String reverse( java.lang.String )
Counts the number of vowels (a,e,i,o,u) in the given String
countVowels
jsp2.examples.el.Functions
java.lang.String numVowels( java.lang.String )
Converts the string to all caps
caps
jsp2.examples.el.Functions
java.lang.String caps( java.lang.String )