Clean up Spring MVC Form Tag Library example
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
<h3>Welcome, Enter The Person Details</h3>
|
||||
|
||||
<form:form method="POST" action="/spring-mvc-xml/addPerson" modelAttribute="person" enctype="multipart/form-data">
|
||||
<form:form method="POST" action="addPerson" modelAttribute="person" enctype="multipart/form-data">
|
||||
|
||||
<form:errors path="*" cssClass="errorbox" element="div" />
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>contextConfigLocation</param-name>
|
||||
<param-value>org.baeldung.spring</param-value>
|
||||
<param-value>com.baeldung.spring</param-value>
|
||||
</context-param>
|
||||
|
||||
<listener>
|
||||
|
||||
Reference in New Issue
Block a user