AmazonWebService aws = AmazonWebServiceFactory.getAmazonWebService();
public void doGet(HttpServletRequest req, HttpServletResponse resp) {
String isbn = req.getParameter("isbn");
AmazonBookModel abm = aws.search(isbn);
String out = "<book>\n";
out += "\t<title>"+StringEscapeUtils.escapeXml(abm.getTitle())+"</title>\n";
out += "\t<image>"+abm.getImageUrl()+"</image>\n";
out += "\t<detail>"+StringEscapeUtils.escapeXml(abm.getDetailUrl())+"</detail>\n";
out += "\t<newPrice>"+StringEscapeUtils.escapeXml(abm.getPriceNew())+"</newPrice>\n";
out += "\t<usedPrice>"+StringEscapeUtils.escapeXml(abm.getPriceUsed())+"</usedPrice>\n";
out += "</book>";
try {
resp.setContentType("text/xml; charset=UTF-8");
resp.getWriter().write(out);
} catch (IOException e) {