I'm developping a web application with Hibernate, spring mvc and MySQL.
I want to delete an book from a list displayed but I 'm unable to do it.
When i am clicking on the delete button the book is not deleting, it is showing the same page(w/o changing anything).
If you're using an IDE, I'd suggest you to turn on the Debug mode and see if your controller and service classes are invoked. If not, you can always use System.out.println(). If there are no errors and the book is not getting deleted, then it is highly unlikely that the code is getting executed.
Googling doesn't make you a genius. But not Googling makes you dumber.
posted 8 years ago
Thanks Prabaharan Gopalan for your reply.
Yes i added system.out.println() in delete method. In console it is printing "delete method called". But the book is not deleting.