38 |
AdressSearch search = (AdressSearch) this.getServletContext().getAttribute("search"); |
AdressSearch search = (AdressSearch) this.getServletContext().getAttribute("search"); |
39 |
if (search == null) { |
if (search == null) { |
40 |
response.setContentType("text/xml; charset=UTF-8"); |
response.setContentType("text/xml; charset=UTF-8"); |
41 |
response.getWriter().print( |
response.getWriter().print( |
42 |
|
"<result>" + |
43 |
"<status>error</status>" + |
"<status>error</status>" + |
44 |
"<error>Service not ready</error>" |
"<error>Service not ready</error>" + |
45 |
|
"<result>" |
46 |
); |
); |
47 |
return; |
return; |
48 |
|
|