Skip to content

Comments

Dev#13

Open
DemidovDenis wants to merge 11 commits intovasylmalik:masterfrom
DemidovDenis:dev
Open

Dev#13
DemidovDenis wants to merge 11 commits intovasylmalik:masterfrom
DemidovDenis:dev

Conversation

@DemidovDenis
Copy link

No description provided.

DemidovDenis and others added 11 commits August 17, 2022 17:09
…ll, at which a request will be sent to the server. Added to each cell the address of the servlet that is responsible for the logic. In the package “com.tictactoe“, we will create a class ”LogicServlet" and add a method to it that will get the index of the cell on which the click occurred. Created the ”InitServlet“ class, redefined the ”doGet" method in it, in which he created a new session, a playing field, put this playing field and a Sign list in the session attributes, and sent “forward" to the index.jsp page.
…getting the current session and the object of the playing field.
…st time after installing the cross, the second time after installing the zero.
… the “winner” parameter, output the winner.
… a POST request to the server. I made the function synchronous, and when the response comes from the server, it will reload the current page.
…pdated the “data” field and sent a redirect to "index.jsp".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant