• The following code implies it
boolean hasFo = !(request.getParameter("fo") == null
|| request.getParameter("fo").equals(""));
Or
boolean hasParameter =
request.getParameterMap().contains(theParameter);
boolean hasFo = !(request.getParameter("fo") == null
|| request.getParameter("fo").equals(""));
Or
boolean hasParameter =
request.getParameterMap().contains(theParameter);
No comments:
Post a Comment