My idea is that player 1 creates a game (for two players), server returns him a URL, player 1 sends this URL to player 2 and the player 2 opens URL and that connects him to the game.
What is the best and the easiest way to achieve this using JSP and related technologies?
You’ll need to store the information in some
Mapin the application scope for which you pass the key around as parameter or pathinfo in the request URL. When the request comes in you just check the presence of the parameter or pathinfo and then retrieve the related information from theMap.