• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Binding problem in JSP with Spring

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic