Parent Directory | Revision Log | Patch
revision 2758 by torben, Tue Oct 27 14:40:44 2015 UTC | revision 2773 by torben, Mon Nov 16 14:56:12 2015 UTC | |
---|---|---|
# | Line 54 public class SearchServlet extends HttpS | Line 54 public class SearchServlet extends HttpS |
54 | ||
55 | ||
56 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { |
57 | ||
58 | response.setHeader("Access-Control-Allow-Origin", "*"); //Allow ajax calls from everywhere | |
59 | ||
60 | AddressSearch search = (AddressSearch) this.getServletContext().getAttribute("search"); | AddressSearch search = (AddressSearch) this.getServletContext().getAttribute("search"); |
61 | if (search == null) { | if (search == null) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |