1.get请求在url中通过?指定参数
直接将其写在参数上即可获得
public String addUser1(String username,String password) {
System.out.println("username is:"+username);
System.out.println("password is:"+password);
return "demo/index";
}
标签:username,String,System,获取,参数,println,password
From: https://www.cnblogs.com/lwx11111/p/17140611.html