How to populate struts2 combo with string array
statesList is ArrayList that contains String object.

    String[] states = new String[2];
    states[0] = "CA";
    states[1] = "California";
    statesList.add(states);
    
    //---
    
    <s:select list="statesList"  headerKey="" headerValue="Select State"  name="state" listKey="?" listValue="?" />

What to mention in listKey and listValue??
How to populate struts2 combo with string array
===

statesList is ArrayList that contains String object.

    String[] states = new String[2];
    states[0] = "CA";
    states[1] = "California";
    statesList.add(states);
    
    //---
    
    <s:select list="statesList"  headerKey="" headerValue="Select State"  name="state" listKey="?" listValue="?" />

What to mention in listKey and listValue??