We already know about SpringMVC Portlet and how to handle Form Submission in SpringMVC Portlet. The two main benifits of using SpringMVC portlet are:-
1)We can handle multiple Ajax call and create our custom methods for each call.For this you can read my blog Ajax Call in SpringMVC Portlet.
2)We can get all the values of Form in a java bean object.
Suppose we have a form that contain 15 fields like name,lastname etc.So we need to write ParamUtil.getString(); for each form field.But by using SpringMVC portlet you can get all the fields in object.So today we will discuss how to get Form fields using Bean.
so lets start this step by step:-
1)We can handle multiple Ajax call and create our custom methods for each call.For this you can read my blog Ajax Call in SpringMVC Portlet.
2)We can get all the values of Form in a java bean object.
Suppose we have a form that contain 15 fields like name,lastname etc.So we need to write ParamUtil.getString(); for each form field.But by using SpringMVC portlet you can get all the fields in object.So today we will discuss how to get Form fields using Bean.
so lets start this step by step:-