else if(action.equals("getwaypoints")){
String term = req.getParameter("term");
List<LatLongModel> llml = cs.getLatLongByTerm(siol, term);
for(Iterator<LatLongModel> i = llml.iterator();i.hasNext();){
xmlout += "\t<waypoint>\n";
LatLongModel llm = i.next();
xmlout += "\t\t<lat>"+llm.getLatitude()+"</lat>\n";
xmlout += "\t\t<long>"+llm.getLongitude()+"</long>\n";
xmlout += "\t</waypoint>\n";
}
}
xmlout += "</response>";