File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

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:


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....
I agree. Here's the link:
subject: Problem in using multiaction controller in spring
Similar Threads
Spring MultiActionController methodNameResolver invalid property error
Problem in injecting interface
Spring with Hibernate webapplication example on myeclipse IDE
get ref bean from applicationContext.xml
Newbie to spring, eclipse and JBOSS.