pon., 11 mar 2019 o 18:41 Prasanth <dbad...@pangburngroup.com> 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 populated. If I change it, so > that there is only one id (no hyphen) then the > data is getting posted as expected.
I assume it's because of the "-" (minus) sign, and OGNL performs an evaluation or something. Could you check if you have key 2309 in your map as a result of distraction operation (2432-123 = 2309)? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org