In the servlet, I get POST options where the keys are not unique. Like this
id = 12, id = 13, id = 14
Therefore, I cannot use getParameterMap()
to get these parameters (since the HashMap contains only unique keys). What is the best way to solve this problem and get values ββfrom all unique parameters from a POST request?
Thanks!
UPD I cannot change the request parameters (I am extracting these parameters from another application)
source share