You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
package call_content;
|
|
|
|
import java.io.IOException;
|
|
import java.io.PrintWriter;
|
|
|
|
import javax.servlet.RequestDispatcher;
|
|
import javax.servlet.ServletException;
|
|
import javax.servlet.annotation.WebServlet;
|
|
import javax.servlet.http.HttpServlet;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import com.fasterxml.jackson.core.JsonFactory;
|
|
import com.fasterxml.jackson.databind.JsonNode;
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
import com.google.visualization.datasource.datatable.DataTable;
|
|
import com.google.visualization.datasource.render.JsonRenderer;
|
|
|
|
import functions.GRAPH_rebuild;
|
|
import jsoupImport.ImportLineups;
|
|
|
|
|
|
/**
|
|
* Servlet implementation class FreeAgent
|
|
*/
|
|
@WebServlet("/CALL_Rebuild" )
|
|
public class CALL_Rebuild extends HttpServlet {
|
|
private static final long serialVersionUID = 1L;
|
|
public static float maxVal=0;
|
|
public static float lowVal=100;
|
|
public static DataTable data;
|
|
/**
|
|
* @see HttpServlet#HttpServlet()
|
|
*/
|
|
public CALL_Rebuild() {
|
|
super();
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
/**
|
|
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
|
|
*/
|
|
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
|
|
// TODO Auto-generated method stub
|
|
}
|
|
|
|
/**
|
|
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
|
|
*/
|
|
//appel� lors du clic test fa
|
|
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
|
|
|
|
try {
|
|
|
|
new ImportLineups();
|
|
new GRAPH_rebuild();
|
|
|
|
} catch (Exception e) {
|
|
// TODO Auto-generated catch block
|
|
e.printStackTrace();
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|