Hi am new in struts2. i have user from , in the role column displays by dropdown list. when user form edit mode, the stored values are placed into corresponding controls.but i cant set dropdown list default selected value. how can i have do it.
A:
If the value in your select tag matches a key from the list in the select tag, Struts will do the correct thing and make that value the default. Note that the types must match.
Nate
2010-09-20 12:59:45