52 |
|
|
53 |
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { |
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { |
54 |
|
|
55 |
AdressSearch search = (AdressSearch) this.getServletContext().getAttribute("search"); |
AddressSearch search = (AddressSearch) this.getServletContext().getAttribute("search"); |
56 |
if (search == null) { |
if (search == null) { |
57 |
response.setContentType("text/xml; charset=UTF-8"); |
response.setContentType("text/xml; charset=UTF-8"); |
58 |
response.getWriter().print( generateErrorXML("Service not ready") ); |
response.getWriter().print( generateErrorXML("Service not ready") ); |