Add form tag example
This commit is contained in:
parent
934c0dda37
commit
925f174c54
|
@ -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>
|
|
@ -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">
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue