I have a problem with the Get and Post methods in my JSP. My code looks somthing like this.
In the servlet I am able to get the ID using request.getParameter("action") if the method is POST. But the problem is with the method GET. If I am using GET then I am getting the ID as null. What could be the reason for this?
We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.