throw new ApiRequestException("callback parameter required for jsonp queries.");
}
}
else if (format.equals("xml")) {
response.setContentType("application/xml");
new Api1XmlConverter().write(sr, response.getOutputStream());
}
else if (format.equals("rss")) {
request.setAttribute("term", term);
request.setAttribute("results", sr);
request.setAttribute("pageSize", pageSize);