• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in logic  RSS feed

 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have displaying more than 1000 record displaying 10 record per page.all paging have check box. if user check the check box for first page 2 record and and check the next page 2 record . ihave to send mail to checked person.can any body tell how to do?



thanks in advance
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vijayakumar durai:
ihave to send mail to checked person.


so you need to send mail? you are asking about how to send mail?if yes, read about javamail
 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using paging

actually my question is how to store or get the value of check box for different pages? if user checked two check box in first page and two check box in second page nad so on
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to submit the form containing the check boxes with every page change and store the results in the user's session or as hidden values in the next page's form.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Luke's Idea is excellent
[ November 08, 2008: Message edited by: seetharaman venkatasamy ]
 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i submit the form i store the value in session for next page its overwrited .second page value only coming in the session

suppose

String id[]=request.getParameterValues("checkedid");
session.setAttribute("id",id);

can anybody tell the solution
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vijayakumar durai:


String id[]=request.getParameterValues("checkedid");
session.setAttribute("id",id);



give different name for attribute
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!