Test the presence of the parameter named "del" using getParameter of HttpServletRequest.
If the value of parameter "del" is present (not null) it means that you have pressed the "Delete Data" button.