I can’t understand a couple of days, there is a form on the page with the post method sent, I want to get data from it and transfer to another page and get it there, get the data in the servlet, it turns out how to transfer it to another html page so that it can be displayed via javascript? through get, you can simply find the necessary parameters through location.search and do something with them, it does not work through post, tell me how it can be turned

  • The first thing that comes to mind is the assignment of keywords to the page title and with their meaning. In my opinion, this is exactly what needs to be done. I'm post.html?name=Alex&email=@gmail.com&message=text-this-message about requests of this type: post.html?name=Alex&email=@gmail.com&message=text-this-message - Egor Trutnev
  • @Egor and how then to get these values ​​in the script? - Nikolay
  • Embed data on the page. For example, the output of the script <script>, xml, hidden elements, hidden input fields. There are options. - Sergey
  • either the page should request the data itself, or websocket - Mikhail Vaysman

0