How to declare multiple commandName in JSP? Normal example (one command name):
<form:form method="post" action="saveContact.do" commandName="newContact">
I want:
<form:form method="post" action="saveContact.do" commandName="newContact" commandName="newAdress">
I suggest you to make a Pojo with
newContactwhich containsnewAdress.Fix the form to work in this way and all work well.