I am developing an Web Application using JSP/Servlet. I just implemented a new module called, User Registration. The Admin can able to view all the pending user requests. For that, i use userpending.jsp page, in which all the pending users were been displayed. The admin provided with two options one to approve the user, or deny the request. When user clicks the approve button after selecting the user(s), it gets added to main table and get deleted from temp table. But when he clicks the Reject button, its not working. I am using AJAX to do this .
Infront of each and every user request,that was displayed in a jsp page, i put a checkbox and assign them the value of userid of that particular entry. So that we can able to get the value to do some DB work in servlet.
The problem is i am unable to get the checkbox values in Servlet file for rejecting the request.
But i am able to get that in Servlet file
In that jsp pages action attribute i put the Servlet's name, and i dont think that'll cause any problem.Is that right?
Please help me and let me know whats wrong with my code.
Never try to be a hard-worker. Be a smart-worker.