This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes checked values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "checked values" Watch "checked values" New topic
Author

checked values

vasuma patel
Greenhorn

Joined: Mar 07, 2006
Posts: 15
I have a form where user picks some items from a list. In the next page the items he selected are displayed for confirmation.All these items are checked by default. He can uncheck some of the items here. I am capturing the items he chose from the confirmation page from the request. Buut since they are there in this page, my reuest is giving the same items even though they are unchecked. For exapmle if the name of the parameter is ITEM, my request.getParameterValues("ITEM") is returing all the items, checked or unchecked. How do I get only those items which are only checked?

Thanks in advance,

Vasuma
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: checked values
 
Similar Threads
itemcode to servlet
Hibernate lazy fetching strategy
Reg :Check all
XMLType in oracle procedure
Sending response to client with out receving request