File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets" Watch "servlets" New topic



Joined: Sep 27, 2000
Posts: 4
I like to see the following:
checkbox Name SSN Birthdate
checkbox Name SSN Birthdate
checkbox Name SSN Birthdate
I write servlets for this and HTML and in the servlets make a loop but how to make the loop for checkbox, because I like to come out together with the other elements this checkbox is for delete.
Could somebody help me?
Satya Narayana

Joined: Nov 08, 2000
Posts: 9
Can you explain your problem in more detail?
If required include some code snippets also. No problem.
Suneel Setlur
Ranch Hand

Joined: Nov 26, 2000
Posts: 202
Do you meant to say that it must be something like a MailBox with a check box for selectively moving or deleting? If yes,
you could try using javascript to validate if the check box has been checked or not.
like if([i].checked) where ch1[i] is the array of check boxes.
Could you give a better idea of what you want? Some code ?



Joined: Sep 27, 2000
Posts: 4
I write a report servlets (employee report)
Name SSN Birthdate
Mary 12345789 12/05/1970
... etc
I like to write some delete servlet with checkbox(delete) ,for every row in the table this is to choice for example first, or third employee record to delete.
checkbox Name SSN Birthdate
x Mary --- ------- for example I click the checkbox in this row because I like to delete this Name,SSN,Birthdate.
It's possible somebody to help me to write some code for this problem.
This is for practice , because I study servlets.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: servlets
It's not a secret anymore!