Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending multiple values to servlet from jsp using ajax

 
gowtham thurangi
Greenhorn
Posts: 13
Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,


In my jsp dynamic textfields are created. and the values of textfields should send to servlet using ajax.

Please any one help.

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Send them as name/value pairs in the POST request body.

Or, use jQuery and the jQuery Forms plugin to easily submit the form through Ajax.
 
ramesh poorella
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am also facing same problem...

please provide sample code for this
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You first! Post your code and we'll give you help with whatever problems you are having. But we won't write the code for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic