This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Problem in using multiaction controller in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Problem in using multiaction controller in spring" Watch "Problem in using multiaction controller in spring" New topic
Author

Problem in using multiaction controller in spring

sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
I am trying to use MultiActionController first time. I had a user signup form where i have two buttons one is submit and one is cancel. onclick of submit my data get's inserted into database after validation checks and i want onclick of cancel my parent form i.e. login screen should apprear. If i use simple form controller i can't code cancel button so i try to change my sontroller to multication controller. My Controller is as follows:



my configuration file os:

login-servlet.xml



now when i try to run this i got the following error :


if i use this in the controller then my application loads fine :



but now i have no way to inject validator or command class, hence error whhile submitting the form. Please suggest....
 
Have you checked out Aspose?
 
subject: Problem in using multiaction controller in spring
 
It's not a secret anymore!