Click to See Complete Forum and Search --> : java,struts web development


Rxyz
06-08-2006, 10:57 AM
Have list of values which are shown in a column of a table. have check boxes beside them too. When user selects the checkboxes, and presses Delete. Have to Delete the checked values.

I am having a attribute value as
Jame's Cake

When I display on the browser it shows correctly.

Using struts to get the selected items.

In the DispatchAction the have a delete method which compares the selecteditems with the original list and trying to delete them.
The selected item is as

Jame's Cake
in the action.

how to change this to Jame's Cake in action? Thanks.

Khalid Ali
06-08-2006, 05:12 PM
Confused..:

1. User selects a record in the page to delete
2. user submits the page to server
3. on server you can determine that which is the record that needs to be deleted..

am I on track so far?...:-)