public void clear(){
if(this.request != null){
this.request = null ;
}
}
public String get(String elementName){
if(request == null || request.getParameter(elementName) == null){
return "";
}else{
return request.getParameter(elementName);
}
}
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/