> foreach (c in countryList) if(c.countryId==selectedCountry) return c;
> }
> ...
> }
>
>
>
> Thanks for using Struts.
>
> Kind Regards.
>
> >-Original Message-
> >From: albert kao
> >Sent: Saturday, December 22, 2018 6:39 PM
> >To: Strut
t;From: albert kao
>Sent: Saturday, December 22, 2018 6:39 PM
>To: Struts Users Mailing List
>Subject: How to display both selected key and value of s:select
>
>I want to display both selected key and value of s:select.
>e.g. for the following codes, after I select key="2&qu
I want to display both selected key and value of s:select.
e.g. for the following codes, after I select
key="2", value="Canada"
and press the submit button.
Only the key "Country: 2" is displayed in the registerResult.jsp as desired.
How to make the value "Canada" to display also in the browser?
p
3 matches
Mail list logo