Add form tag example

This commit is contained in:
Ivan 2016-03-04 14:53:39 +01:00
parent 934c0dda37
commit 925f174c54
3 changed files with 1 additions and 11 deletions

View File

@ -25,11 +25,4 @@
<property name="basename" value="messages" />
</bean>
<!-- <bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver" /> -->
<bean id="multipartResolver"
class="org.springframework.web.multipart.support.StandardServletMultipartResolver">
</bean>
</beans>

View File

@ -22,7 +22,7 @@
<body>
<h3>Welcome, Enter The Person Details</h3>
<h3>Welcome, Enter the Person Details</h3>
<form:form method="POST" action="/spring-mvc-xml/addPerson" modelAttribute="person">

View File

@ -28,9 +28,6 @@
<servlet-name>mvc</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<multipart-config>
<location>/tmp</location>
</multipart-config>
</servlet>
<servlet-mapping>
<servlet-name>mvc</servlet-name>