• Post Reply Bookmark Topic Watch Topic
  • New Topic

dont find a paramtere in the request

 
Suma Rangaraj
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -

I have an existing jsp and some form elements. I added another form element and I do not find the new parameter that I added if I issue a getParameterNames() in my servlet. Can some one tell what do I need to do?
BTW, the property that I added is a checkbox. Anything special with checkboxes?

Thanks!!
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post the form code as well as your retrieving servlet code please ..
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that checkbox parameters are only present in the request if they're checked.
 
Suma Rangaraj
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ahh.. so thats the magic. Thanks David... I thought checkbox parameters are always sent... Thansk a ton!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!