File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Binding problem in JSP with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Binding problem in JSP with Spring" Watch "Binding problem in JSP with Spring" New topic
Author

Binding problem in JSP with Spring

Someswar Panda
Greenhorn

Joined: Mar 09, 2010
Posts: 1
I am very new with Spring. I am trying to develop a simple login application where if login succeeds user is forwarded to a success page and if not then to the same login.jsp.
I am using 2 controllers, first one is named LoginFormController, which is derived from SimpleFormController and is used for validation purpose. 2nd one is named ResultPageController, derived from AbstractController, which is used for login logic like database fetching.
Everything is working fine except when I am tring to view the error validation messages in the login.jsp. There is some problem with the spring tag. it says it can not find the "loginData" attribute.

Employee.java


web.xml


Terms-servlet.xml


LoginFormController.java



LoginFormValidator.java


ResultPageController.java


login.jsp



The error showing >>



Please help !!
 
jQuery in Action, 2nd edition
 
subject: Binding problem in JSP with Spring
 
Similar Threads
que in spring mvc - simpleformcontroller
No SessionFactory specified(IllegalArgumentException)
Spring Login problem "Request processing failed; nested exception is java.lang.NullPointerException"
Spring MVC - Url Handling Problem
I am getting org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: