struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanth <dbad...@pangburngroup.com>
Subject HashMap with String as key
Date Mon, 11 Mar 2019 17:40:46 GMT
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 (no
hyphen) then the
data is getting posted as expected.

Thanks,
Prasanth

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message