Multi Action with Form design streatgy
Posted
by Ravi
on Stack Overflow
See other posts from Stack Overflow
or by Ravi
Published on 2010-03-26T16:34:39Z
Indexed on
2010/03/26
16:43 UTC
Read the original article
Hit count: 435
spring-mvc
Hello All,
I want to have a controller that can handle multiple requests. Like a UserController handling all the addUser, deleteUser, updateUser and viewUser functionality. I know that MultiActionController can be used to bundle multiple similar request into one controller. But the functionalities like addUser and updateUser involves user to enter data, which the controller need to process. Can a MultiActionController handle doSubmit kind of methods (similar to SimpleFormController). Is there any better way to handle this kind of scenario?
Thanks. Ravi
© Stack Overflow or respective owner