Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in using multiaction controller in spring  RSS feed

sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!