• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 !!
 
reply
    Bookmark Topic Watch Topic
  • New Topic