Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

need help with basic spring mvc program... please help

Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
i am very new to Spring MVC. I am facing a bit of a problem and cannot understand why it isn't working. that is why i have come here to share my problem with all of you. i have made a very basic login app using Spring MVC. i am trying to compare the data entered through a form with a mysql database in the back end. i know i could have done this app using spring security, since i am still learning spring mvc, i will implement security later.


my dispatcher-servlet.xml

i have used the deprecated SimpleFormController. please advise me if this can be made better.

my bean:

my interface


registration.jsp (mapped as registration.html)


my problem is that this program is running. it comes up to the login screen and when you put in the user id and password the screen stays the same. nothing is showing on the eclipse console. when i make a warfile and deploy it on tomcat, i get the following log file after inputting data.

what am i doing wrong? please help. any kind of help will be highly appreciated.

    Bookmark Topic Watch Topic
  • New Topic