Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Request {
- @DateTimeFormat(pattern = "yyyy-MM-dd")
- private Date dueDate;
- <form:form action="create" commandName="request" method="post">
- <form:input type="date" path="dueDate"/>
- <input type="submit" value="create">
- </form:form>
- <context:component-scan base-package="controller"/>
- <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
- <property name="prefix" value="/WEB-INF/views/"/>
- <property name="suffix" value=".jsp"/>
- </bean>
Add Comment
Please, Sign In to add comment