Test Replacements for struts bean:write Tag

Test 1 -- Scalar Variable Lookups

Data Type Value
boolean true
double 321.0
float 123.0
int 123
long 321
short 987
String This is a string

Test 2 -- Scalar Property Lookups

Data Type Value
boolean true
double 321.0
float 123.0
int 123
long 321
short 987
String This is a string

Test 3 - Integer Array And Indexed Lookups

Correct Value Array Result Indexed Result
0 0 N/A
10 10 N/A
20 20 N/A
30 30 N/A
40 40 N/A

Test 4 - String Array And Indexed Lookups

Correct Value Array Result Indexed Result
0 String 0 N/A
1 String 1 N/A
2 String 2 N/A
3 String 3 N/A
4 String 4 N/A

Test 5 -- Nested Scalar Property Lookups

Data Type Value
boolean true
double 321.0
float 123.0
int 123
long 321
short 987
String This is a string

Test 6 - Nested Integer Array And Indexed Lookups

Correct Value Array Result Indexed Result
0 0 N/A
10 10 N/A
20 20 N/A
30 30 N/A
40 40 N/A