I am stuck with some silly problem in one of my legacy application.
Problem goes like this.
i have one URL where i pass some parameter in URL ( URL?param=value) and open the jsp say JSP1
That param i have used inside hidden field of JSP1 as given below.
Now after filling form, which is present in that JSP1 user has to submit the form . But if user clicks submit, action is given to land on same page (JSP1) where i need to fetch the value of hidden field and check whether data is present or not and based on that need to invoke some java code.
to fetch the hidden field i have below code in JSP1
But queryParamis being assigned null after submission of form.
it is a legacy application, i don't have much option to make lots of code changes. So can anyone suggest if there is any another way to handle this situation.