HI friends, I have one small problem I have a set of check box and I want to pass checked values thro session to next page. And how to retrive that values in next page. PL it's urgent, waiting for reply. sachin
I'm not sure how your structuring everything in your web server- but an easy way is to append it to the url- via appending the checkbox value in the url. Look at the URL on this page- there should be some values in their. So basically on submit of your page with a checkbox on it- you have a servlet that picks up the checkbox value and other values, you do a redirect to your next page, appending to the redirect URL the value of the checkbox. Another way you can do it is via javabeans. However, this is more involved. Can you give some more info on what you have so far?
im sure ur check box will have a value so on submitting u can get the value of the checkbox by request.GetParameter("value"); where value= specified by you if its checked for ex (0) and not checked for ex ("1"), hope this helps.
SCJP, SCWD <br />A farmer learns more from a bad harvest than a good one.
Joined: Jul 05, 2001
Hi Thanks The Problem is the checkbox has given same name and i want to send the values of 'checked boxes'(ie selected boxes) pl reply sachin