can check null parameter(urgent)
How can i check whether there is a particular parameter in a request? My requirement is that I want to set a session attribute if there is a particular parameter in the request.
I tried the following code but it doesn't work
if (request.getAttribute("cmbSelectDist") != null) {
session.setAttribute("Dist",request.getParameter("cmbSelectDist"));
}
Message was edited by:
Johnykutty

