Send the data entered on the web page to the server-side program Group of input items
Description
<form action="Destination" method="Request method">...</from>
GET request Get new information (web pages, etc.)
POST request Register the information entered in the form
Description
<input type="text" name="Part name">
Description
<input type="password" name="Part name">
Description
<input type="radio" name="Part name" value="value">
Description
<input type="submit" value="Send">
Stored in the HttpServletRequest instance by the AP server and passed to the destination Servlet class or JSP file
Description
request.setCharacterEncoding("Source HTML character code");
Description
String xxx = request.getParameter("Name of request parameter");
Recommended Posts