Hi,
Can we pass command form bean to a MultiActionController?
This topic has been already discussed.
https://coderanch.com/t/420748/oa/MultiActionController-Command-Object-type-com I am using a MultiActionController class. From the
JSP i want to pass the field values to the MultiActionController. Using SimpleFormatController we can easily send it by adding commandName and commandClass in the *-servlet.xml file. Is it possible with MultiActionController.
i am using ServletRequestUtils to get the form values. Is it a correct approach? Is it a violation of Spring framework? please advice.
String firstName = ServletRequestUtils.getStringParameter(request , "firstName");
String lastName = ServletRequestUtils.getStringParameter(request , "lastName");
Thanks
Selva