In a Servlet, check if Form Field is present
|
12-14-2010, 08:42 AM
Post: #1
|
|||
|
|||
In a Servlet, check if Form Field is present
public isDefined(HttpServletRequest req, String fieldNameToSearchFor) {
return req.getParameterMap().containsKey(fieldNameToSearchFor); } |
|||
« Next Oldest | Next Newest »
|