I'm really confused as to what you are trying to accomplish.
Firstly, you are mixing JSTL, EL and scriptlets? Why the scriplets?
Secondly, you are trying to obtain request params in the same page as defines the form. In this case, the form hasn't even been displayed yet, so how can it have been submitted in order to generate the request params?