- 更新日時:
- 2014/11/11 14:23:58 (10 年 前)
- ファイル:
-
- 1 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/www/CLServlet.java
r197 r204 69 69 //processRequest(request, response); 70 70 response.setContentType("application/json;charset=UTF-8"); 71 response.setHeader("Access-Control-Allow-Origin", "*"); 72 response.setHeader("Access-Control-Allow-Methods", "GET"); 73 response.setHeader("Access-Control-Allow-Headers", request.getHeader("Access-Control-Request-Headers")); 74 response.setHeader("Access-Control-Max-Age", "-1"); 71 75 PrintWriter out = response.getWriter(); 72 76 String ep = request.getParameter("ep"); … … 74 78 QueryPathGenerator qpg = (QueryPathGenerator)session.getAttribute("qpg"); 75 79 if ( qpg == null ){ 76 //QueryPathGenerator77 80 qpg = new QueryPathGenerator(); 78 81 }