Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 15th, 2005, 10:33 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default JSP Multiple delete Checkbox

I would like to implement a multi delete feature in jsp using checkbox, can any one help? or a useful tutorial on how to do this..

 
Old February 17th, 2005, 02:57 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use an HTML form, in your jsp you can use a loop to add check boxes if the number is to vary. Get your program to store the number of check boxes added in a hidden field (in the form) and pass this to the processing page with all the other parameters.

In your processing page, get your program to iterate in another loop to retrieve the required number of parameters.

You will need to name and retrieve your check boxes incrementally within the loop: box1, box2 etc.








Similar Threads
Thread Thread Starter Forum Replies Last Post
How i can delete with checkbox maz_alaameri ASP.NET 1.0 and 1.1 Basics 1 December 5th, 2006 05:14 AM
How to delete the Multiple Records Using Checkbox tks_muthu Classic ASP Databases 4 February 10th, 2005 03:19 AM
Multiple Delete Records With CheckBox XXL Classic ASP Basics 5 December 29th, 2004 08:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.