Create array with predefined values
String[] myArray = {"option1", "option2", "option3"};
Create getters and setters
public String[] getMyArray() {
return myArray;
}
public void setMyArray(String[] myArray) {
this.myArray = myArray;
}
Then create select dropdown and iterate through your array, you can use Struts2 tags like this
<select>
<s:iterator value="myArray">
<option value="<s:property/>"><s:property/></option>
</s:iterator>
</select>