Test struts logic-el Iterate Tag

Test 1 - Iterate Over A String Array [0..4]

  1. String 0 [0]
  2. String 1 [1]
  3. String 2 [2]
  4. String 3 [3]
  5. String 4 [4]

Test 2 - Iterate Over A String Array [0..2]

  1. String 0 [0]
  2. String 1 [1]
  3. String 2 [2]

Test 3 - Iterate Over A String Array [3..4]

  1. String 3 [3]
  2. String 4 [4]

Test 4 - Iterate Over A String Array [1..3]

  1. String 1 [1]
  2. String 2 [2]
  3. String 3 [3]

Test 5 - Iterate Over an Array List

  1. First [0]
  2. Second [1]
  3. Third [2]
  4. Fourth [3]
  5. Fifth [4]

Test 6 - Iterate Over an Array List [0..2]

  1. First [0]
  2. Second [1]
  3. Third [2]

Test 7 - Iterate Over an Array List [2..4]

  1. Third [2]
  2. Fourth [3]
  3. Fifth [4]

Test 8 - Iterate Over an int array

  1. 0 [0]
  2. 10 [1]
  3. 20 [2]
  4. 30 [3]
  5. 40 [4]

Test 9 - Iterate Over an int array [0..2]

  1. 0 [0]
  2. 10 [1]
  3. 20 [2]

Test 10 - Iterate Over an int array [2..4]

  1. 20 [2]
  2. 30 [3]
  3. 40 [4]

Test 11 - Iterate Over HTTP Headers

Key Value
x-request-id 7dfee96653b2075a63fd0d766607f142
x-forwarded-proto https
accept-language en-US,en;q=0.5
x-forwarded-port 443
x-forwarded-for 2600:1f28:365:80b0:7ac6:1b9:74c4:ce9d
accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
x-real-ip 2600:1f28:365:80b0:7ac6:1b9:74c4:ce9d
x-forwarded-scheme https
x-forwarded-host struts1-ee9-demo.stage.apps.herodevs.io
host struts1-ee9-demo.stage.apps.herodevs.io
x-scheme https
accept-encoding zstd, br, gzip
user-agent CCBot/2.0 (https://commoncrawl.org/faq/)