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 5aa14c9669d44455e93d17f531cc7ec7
x-forwarded-proto https
cookie JSESSIONID=0ECBCB62F2FEA8507F6027A62FBCFE89
x-forwarded-port 443
x-forwarded-for 216.73.216.147
accept */*
x-real-ip 216.73.216.147
x-forwarded-scheme https
x-forwarded-host struts1-demo.stage.apps.herodevs.io
host struts1-demo.stage.apps.herodevs.io
x-scheme https
accept-encoding gzip, br, zstd, deflate
user-agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)