• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Problem while receiving parameters..

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic