I'm using
Struts 1.3 for my application. I found that Struts is not 'selecting' a value if the value type is Integer in html:select and html: option. It's selecting if the type is
String. Why? See the below code:
Where roleId is an Integer and roleName is String.
The web page displays:
As you can see, there is no 'selected' property for Integer values. Can someone explain why? What is the solution for this?
Many thanks in adv.!