request.getParameter

request.getParameter(“xxx”)的参数的取值的几种可能:

  1. Html中form表单中标签的name属性:

请输入用户姓名:

request.getParameter(“username”);

  1. Html中form表单提交时的action的参数

请输入用户姓名:

request.getParameter(“username”);

request.getParameter(“Flag”);

request.getParameter(“Id”);

  1. Html中url的内容

request.getParameter(“flag”);

request.getParameter(“temp”);

作者:BIRD_A_JAVA
来源:CSDN
原文:https://blog.csdn.net/BIRD_A_JAVA/article/details/80367805?utm_source=copy

你可能感兴趣的:(request.getParameter)