Java Servlet - get parameters with same name

后端 未结 1 1100
栀梦
栀梦 2021-02-20 05:07

I know that I can get a parameter like:

HTML


Servlet

1条回答
  •  一个人的身影
    2021-02-20 05:30

    Close. It's

    String[] lines = request.getParameterValues("line");
    

    but the name is line, not line[]

    0 讨论(0)
提交回复
热议问题