czw., 14 mar 2019 o 21:38 Prasanth napisał(a):
>
> Sorry if I caused any confusion. This thread was meant to discuss String
> keys. I do have forms where I am using numeric keys and they work fine.
>
> I think I found a solution to my problem. Struts seems to expect single
> quotes for the
Sorry if I caused any confusion. This thread was meant to discuss String keys.
I do have forms where I am using numeric keys and they work fine.
I think I found a solution to my problem. Struts seems to expect single quotes
for the keys when the key is string. Updated code is shown below. Also
czw., 14 mar 2019 o 20:11 Prasanth napisał(a):
> If there a setting for struts that need to be changed to allow non numeric
> keys?
Nothing like that, but I suggest to start over because you first
reported that you want to have a numeric key and now you say you
don't. So maybe start a new topic
is not further Long. It's String.
>>>
>>> Regards.
>>>
>>>> -Original Message-
>>>> From: Lukasz Lenart
>>>> Sent: Tuesday, March 12, 2019 10:52 AM
>>>> To: Struts Users Mailing List
>>>> Subject: Re: Hash
Original Message-
>>> From: Lukasz Lenart
>>> Sent: Tuesday, March 12, 2019 10:52 AM
>>> To: Struts Users Mailing List
>>> Subject: Re: HashMap with String as key
>>>
>>> pon., 11 mar 2019 o 18:41 Prasanth napisał(a):
>>>>
gt;> From: Lukasz Lenart
>> Sent: Tuesday, March 12, 2019 10:52 AM
>> To: Struts Users Mailing List
>> Subject: Re: HashMap with String as key
>>
>> pon., 11 mar 2019 o 18:41 Prasanth napisał(a):
>>> When you have a HashMap backed form and String as key, are th
(regarding your previous emails background) Please also consider that the key
2432-123 is not further Long. It's String.
Regards.
>-Original Message-
>From: Lukasz Lenart
>Sent: Tuesday, March 12, 2019 10:52 AM
>To: Struts Users Mailing List
>Subject: Re: HashMap wit
pon., 11 mar 2019 o 18:41 Prasanth napisał(a):
> When you have a HashMap backed form and String as key, are there any
> restrictions on the characters allowed?
>
> I have keys like "2432-123" as I have to incorporate two ids in the key. When
> I have these keys the HashMap is not getting
Hi,
When you have a HashMap backed form and String as key, are there any
restrictions on the characters allowed?
I have keys like "2432-123" as I have to incorporate two ids in the key. When I
have these keys the HashMap is not getting populated. If I change it, so that
there is only one id
9 matches
Mail list logo