How to pass a list from jsp to servlet? I want to add the dianomic field in my JSP and insert it through a servlet.
Asked
Active
Viewed 144 times
-2
-
10provide what you have tried? – ArunKumar M N Apr 26 '19 at 13:07
-
Do you mean passing from form to servlet? – JamesB Apr 26 '19 at 13:13
-
1please take your time to read how to write a [mcve], that will help a lot for asking nice questions and getting helpful answers – YakovL Apr 26 '19 at 16:23
1 Answers
0
Use session.setAttribute(String name, Object value)
within the JSP, then retrieve it using session.getAttribute(String name)
in the servlet.

Pierce Griffiths
- 733
- 3
- 15