If you have more than one parameter with the same name the best way to retrieve them is to use getParameterValues. If you want a particular one, iterate through the array and grab the one you want.
If you only want one, why are you sending multiple params with the same name?
Also, the
servlet spec specifically warns that there is no guarantee as far as the order of params returned. The last one may not necessarily be the one you want.