If you are programming a servlet, then you can call the getParameter("paramname") method on the ServletRequest object that is passed to the doPost() method of your servlet. In a JSP, there will be an implicit 'request' variable on which you can call getParameter("paramname") on that directly.
I am getting the POST method parameters by request.getparameter(""); method.
But my problem is that, i want to block the password fields in request. I had encrypted these password fields on my submit button click using ajax & again set these encrypted values to form. So that in my form submit action i am getting encrypted values.
But this whole logic fails when i use tools like Selenium automates browsers. This is an Mozilla tool where we can record our browser activities by recording events.
When i start recording browser events in this tool, it captures the form values that are changed, means suppose i have 10 fields on my UI, n i change only 2 of them,one by key type & one by mouse paste. then it directly records these events. So even if i had encrypted these fields after form submit,its of no use.