<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
List<String> set = GetEmployeeName.getEmployeeName();
Iterator it = set.iterator();
String name = (String)it.next();
I'm not 100% sure what it is your trying to do. You have an empty select box, and when you click it you want to populate that empty box with the list of names your getting back? If that is what you want then i would suggest using JQuery like in this example
Just replace the variables in the option tags with the data from your list.
That is not the best solution, get rid of the scriplets. You should either
1) make and populate your employee name list a variable in your action class, then in your <s:select> box use the attribute list="myVarName". the list will read all the strings from your action class list to populate the select box.
2) If you insist on populating it from a user click, then some sort of AJAX call back to your servlet. it will return your list, probably in JSON format, then you add using the JQuery method i mentioned using the data you have.