-
Aug 1st, 2012, 09:07 AM
#1
Creating Dynamic Command Object in Spring MVC
Hi,
Is it possible to create a dynamic command object in spring? like what we have in struts we have DynaActionForm? Similarly what is the default scope for the command object if it is not configured in the controller using sessionForm property as true or false? Please clarify.
Thanks.
-
Aug 1st, 2012, 12:03 PM
#2
That are multiple questions..
No you cannot have a dynamic command object, you can however retrieve all parameters as a Map (in Spring 3.1) as mentioned in the reference guide.
The fact that it isn't stored in the session makes it request scoped there aren't anymore scopes request/session thats all with a plain Spring MVC application.
I suggest a read of the reference guide especially the web chapter as that explains some of your questions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules