}
else if(action.equals("query")) {
required("LDAP",action,"start",start);
required("LDAP",action,"attributes",attributes);
required("LDAP",action,"name",name);
Query qry = client.query(attributes,scope,startrow,maxrows,
timeout,sort,sortType,sortDirection,start,separator,filter);
pageContext.setVariable(name,qry);
}
else throw new ApplicationException("invalid value for attribute action ["+action+"], valid values are [add,delete,modifydn,modify,query]");