Ulf Dittmer wrote:For starters, having multiple checkboxes all named "Empid" is bound to create problems.
Mohamed Inayath wrote:Nitin,
In your JSP you are populating the values and displaying it.
After that you are trying to get a value from the request object.
Why is the above code in the JSP?
Also in the Delete Servlet you are expecting the value from the below code
Where are you setting the value?
Confusing...! Isn't it?
seetharaman venkatasamy wrote:How you will get the value? thats what Mohamed Inayath mentioned earlier
Nitin Belaram wrote:
Object value = request.getParameterValues("Empid");
Albareto McKenzie wrote:
This code will not compile, you are trying to set to an Object an String[]...
Ulf Dittmer wrote:For starters, having multiple checkboxes all named "Empid" is bound to create problems. Give them distinct names (like Empid1, Empid2, etc.) and see what happens.