aspose file tools*
The moose likes Servlets and the fly likes Problem while receiving parameters.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem while receiving parameters.." Watch "Problem while receiving parameters.." New topic
Author

Problem while receiving parameters..

Chak Terlapu
Ranch Hand

Joined: Oct 20, 2000
Posts: 32
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

Joined: Mar 22, 2000
Posts: 12835
    
    5
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:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem while receiving parameters..