Passing javascript array to servlet

后端 未结 3 1400
清酒与你
清酒与你 2021-01-02 09:04

I have looked previous questions on this topic on SO, but my problem is not solved yet.

I am passing the array from javascript to servlet.

JavaScript Code:

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-02 09:37

    Pass Javascript array variable with form action to send values to servlet, and then use

    String[] darray=request.getParameterValues("variable name used with link");
    

提交回复
热议问题