• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while receiving parameters..

 
Chak Terlapu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I am trying to call servlet B from servlet A the parameters are not getting passed and null value is returned.
servlet main.java: displays a table and adds checkbox to each row:

if i just call action like above null values are returned for value of i but if use as below then value is passed:
out.println("<Form method=\"post\" action=\"http://rupd1b42:8159/servlet/delete1.class?abcd=59\"><TH>");
but still the values of check boxes are "null". I am trying to receive parameters as follows:

Any help would be appreciated.
Thanks
Chak
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your Form tag pair has to completely enclose the checkboxes. It looks to me like it is separate, so it should be no surprise that the checkbox information is not transmitted.
Bill
------------------
author of:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic