差分発生行の前後
無視リスト:
更新日時:
2014/09/25 16:09:20 (10 年 前)
更新者:
atsuko
ログメッセージ:

Session利用を中止

パス:
SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/www
ファイル:
3 変更

凡例:

変更なし
追加
削除
  • SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/www/CLServlet.java

    r149 r162  
    7070        PrintWriter out = response.getWriter(); 
    7171        String ep = request.getParameter("ep"); 
    72         HttpSession session = request.getSession(); 
    73         QueryPathGenerator qpg = (QueryPathGenerator)session.getAttribute("qpg"); 
    74         if ( qpg == null ){ 
    75             qpg = new QueryPathGenerator(); 
    76         } 
     72        //HttpSession session = request.getSession(); 
     73        //QueryPathGenerator qpg = (QueryPathGenerator)session.getAttribute("qpg"); 
     74        //if ( qpg == null ){ 
     75           QueryPathGenerator qpg = new QueryPathGenerator(); 
     76        //} 
    7777        qpg.setSPARQLendpoint(ep); 
    7878        SClass[] classes = qpg.getClasses(null); 
  • SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/www/EPServlet.java

    r149 r162  
    8484        JsonArray ja = jab.build(); 
    8585        out.print(ja); 
    86         HttpSession session = request.getSession(); 
    87         session.setAttribute("qpg", qpg); 
     86        //HttpSession session = request.getSession(); 
     87        //session.setAttribute("qpg", qpg); 
    8888    } 
    8989 
  • SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/www/PLServlet.java

    r149 r162  
    7171        String en = request.getParameter("endclass"); 
    7272         
    73         HttpSession session = request.getSession(); 
    74         QueryPathGenerator qpg = (QueryPathGenerator)session.getAttribute("qpg"); 
    75         if ( qpg == null ){ 
    76             qpg = new QueryPathGenerator(ep); 
    77         } 
     73        //HttpSession session = request.getSession(); 
     74        //QueryPathGenerator qpg = (QueryPathGenerator)session.getAttribute("qpg"); 
     75        //if ( qpg == null ){ 
     76           QueryPathGenerator qpg = new QueryPathGenerator(ep); 
     77        //} 
    7878        Path[] paths = qpg.getPaths(st, en, true); 
    7979        String jsonstr = "{\"paths\":[";