File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC+iBATIS simple Login App Problem

 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys i am new to spring mvc and I am trying to design a very simple login application. I have one table called User in the database and i am verifying the user's credentials and allowing the user to login. My classes are the following:

Users Class


User Service


Users Service Implementation Class



login controller class



login form controller


usersqlmap.xml


ibatis-servlet.xml file


SqlMapConfig.xml


my application context file



my console message is printed as follows


Please help me figure out what is happening.
Thanks in advance.
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody please guide me..
 
amit punekar
Ranch Hand
Posts: 544
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
There is lot of source code that you have posted to digest.
May be you can do the following
1) Test the iBatis code stand-alone to check if it works as expected.
2) If yes then concentrate on Spring-iBatis integration. you may as well check if the Spring MVC works as expected in isolation.

Hope this helps.

regds,
Amit
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic