Hello, there is a web interface with various functions, it is connected to the Tarantool DBMS in which the ability to search for specific tuples by value is implemented. It is necessary that these values ​​are entered from the web-muzzle, and then the necessary method was launched, unfortunately I myself can not yet implement it. The value you need to enter from the keyboard, Arrays.asList(1491573042) .

 try { Socket socket = new Socket(); //socket.connect(new InetSocketAddress("173.20.41.22", 3311)); socket.connect(new InetSocketAddress("173.20.25.75", 3311)); Connection con = new Connection("admin", "admin", socket); //out.println("box.info:> " + con.call("box.info") + "\n"); out.println("con.select :> " + con.select(512, 0, Arrays.asList(1491573042), 0, 1024, 0) + "\n\n"); con.close(); } catch (Exception e) { System.out.println("Error TarantoolConnection: " + e); } 
  • one
    use JS to dynamically change the appearance of the page and send requests to the server that will call the necessary functions, returning the necessary data - JVic
  • Your question looks like "There are special equipment with various functions. It is necessary to make a lever in the cab to start the mechanism. This is what one of the gears looks like." Simply put, almost nothing is clear. Specify it, please. - Sergey Gornostaev
  • If there is a web interface, then show the page with the request. And the controller code for which this request is mapped. - Tachkin
  • Ok, I’ll reformulate a bit how I can use the HTML / Servlet bundle to manually enter a value from the web interface into the Arrays.asList field (1491573042)? - Rossario Agro
  • Add a form to the html document that will send data to the servlet that will transfer the received data to the Arrays.asList() method. - Sergey Gornostaev

0