reset password
Author Message
aligh1979
Posts: 121
Posted 13:08 Oct 29, 2011 |

in the Course example , using the Spring <form:....>tag , we did not define anything as an form action , nor did we for method , so it means that it will sends it to itself via GET method ?

does it have to do something with using the command object?

do we use the command object only for forms or there are other uses?

cysun
Posts: 2935
Posted 23:00 Oct 29, 2011 |

1. By default the Spring <form:form> tag generates an HTML <form> tag with "post" for method and the same URL that displays the form for action.

2. No.

3. Command objects are only used for form processing.