This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POST and Servlet

 
Popescu Ion
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I have a jsp page that has a post method to my "Adder" servlet. Something like this :

How can i send more data, let's say, an INT variable besides that POST method. I mean - when i hit "add" button , jsp will send "description" ' value and a variable from my jsp in the same flow.
Thnx in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a hidden input with the name and value you want to send.
 
Popescu Ion
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Create a hidden input with the name and value you want to send.


Thnx very much, it works now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic