Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Binding problem in JSP with Spring

 
Someswar Panda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic