How to Pass Array from One Servlet to Another Servlet?

后端 未结 3 1301
花落未央
花落未央 2021-01-23 01:33

I want to pass multiple values from one servlet to another one servlet. Please tell me how to pass that?

3条回答
  •  难免孤独
    2021-01-23 01:59

    You can store the array in the user session in servlet 1 and read it from servlet 2 getting it from the user session. Make sure you delete the array from session in servlet 2.

提交回复
热议问题