JSP/Servlet | Passing Values Between Client and Server
You can now output values from the server to the client. Then how do you send the necessary information from the client to the server? The basics are “query strings” and “forms”. This section explains how to pass data with these two methods.