Please take a look at the documentation for the select tag. [1]
There are some examples how to use it.
<s:select
name="employee"
list="employeeList"
listKey="empId"
listValue="empName"/>
[1] https://cwiki.apache.org/confluence/display/WW/select
Best Regards
Johannes
#################################################
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
2014-12-21 14:16 GMT+01:00 Yaragalla Muralidhar <[email protected]>:
>
> hi i have a employee dto with 10 fields. In <s:Select > how can i map empid
> as value and emp name as display string?
>
> I know how to do it with hashmap but without creating that additional
> hashmaps and lists can we directly map the List of employee dto's to
> <s:select> tag?
>
>
> *Thanks and Regards,*
> Muralidhar Yaragalla.
>
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>*
>