Java Servlet - get parameters with same name

后端 未结 1 1093
栀梦
栀梦 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)
提交回复
热议问题