Anil
Why are you using hidden form fields and not session objects? then you eliminate the problem of them seeing the values in the location bar and the problem of having to control all of the values through javascript.
Is to advisable to use doPost for all my pages. ?? As far as I know there is no performance difference between post and get. IF you are going to use one or the other, in my mind, it is better to be consistent and use the same one all the time. The other option available is that you can have a single page call the same
servlet but access either the doPost or the doGet method depending on how the form is submitted.
But with do post there is a problem, i cant use no-cache as when i click the browser back button then it asks for the refresh option. that is intentional so that if you post say, a credit card form, the location can not be stored in the users browser accidentally and then submitted again later in error.