aspose file tools*
The moose likes Spring and the fly likes Spring MVC+iBATIS simple Login App Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC+iBATIS simple Login App Problem" Watch "Spring MVC+iBATIS simple Login App Problem" New topic
Author

Spring MVC+iBATIS simple Login App Problem

Deepaks Deshpande
Ranch Hand

Joined: Dec 06, 2007
Posts: 113

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.


Regards,
Deepak

Deepaks Deshpande
Ranch Hand

Joined: Dec 06, 2007
Posts: 113

Can somebody please guide me..
amit punekar
Ranch Hand

Joined: May 14, 2004
Posts: 515
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
 
 
subject: Spring MVC+iBATIS simple Login App Problem