If these are the exact values you are getting from table, look carefully. There seems to be a leading and trailing space for usertype seller and buyer but not for admin
' seller '
' buyer '
'admin'
so while doing the check, you need to remove the spaces.
NIshi, today MVC architecture is a must. That's separation of business logic, persistence logic, rendering logic. Its not a difficult concept. You just need to create different classes, like bean class, a separate class for servlet, persistence and jsp to render the view. Try, we are there to help you
Kunal Lakhani, i have developed this project entirely in jsp. this project is 70% completed and 30% more to go.
how can i convert this whole project from jsp to MVC.