Please don't: UseTheForumNotEmail. If you start emailing Hari then others will not see any updates. If Hari wishes to leave that's fine, and we cannot prevent you from contacting him, but as said, we won't be able to provide any help anymore.
i had checked using 'System.out.println'..in String negtveBalDebit = request.getParameterValues("negtveBalDebit"); i m passing values from form...that means it takes checkbox and corresponding textbox values....it is taking for 2 check boxes i had 9 checkboxes...it is not taking what ever value i had taken....
You wrote in one of your previous posts that you are getting F,5:M,4:$ but it should have been F,5:M,4,R_1_L,8:$
Which value is from the check box, and which one from the text field ??
I'm just guessing now...
F, and M, is from the check box and 5 and 4,R_1_L,8 is from the text field - or are they ??
If I try to emulate your input I'm getting the output I expect - but again, from the sample above what is what ??
Joined: Mar 30, 2010
hi good morning,
what you are expecting 'Rene' is right...my check box values are 'F,','A,','R_1_D' and so on......in textbox it takes numbers that should be entered by the user....if i m selecting alterenate checkboxes and corresponding textboxes im getting the output as F,5:M,4:$ instead of F,5:M,4:R_1_L,8:$ here is my code...
Therefore I ask you again - what input do you get when you submit your form - do you get it like it should be (like my String Array) ??
You can test your code like I do - with just to emulate the input, and then a main method.
Joined: Mar 30, 2010
i got what you suggested..according to you if i did means it'll come...i need to get the values from form i.e., the check boxes and the corresponding text boxes..some times i'll select 1 or 2 or more than that i.e.,
1) select only one checkbox and corresponding textbox
2) select two checkboxes and corresponding textboxes i.e., continuously
2) select two or more checkboxes and corresponding textboxes i.e., alternatively
here is my jsp form
here is my code
im facing problem for the above mentioned point (3)....can you once check my code and provide me the solution.