aspose 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
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 !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Binding problem in JSP with Spring