tag:blogger.com,1999:blog-3237724005744642470.post5658081451773288003..comments2020-05-08T12:31:27.297+01:00Comments on Captain Debug's Blog: Using the Spring 3 @DateTimeFormat AnnotationRoger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]Blogger3125tag:blogger.com,1999:blog-3237724005744642470.post-61352010483951697542012-04-06T16:31:37.678+01:002012-04-06T16:31:37.678+01:00Shaun
Thanks for the comment. The answer to your q...Shaun<br />Thanks for the comment. The answer to your question is that having annotated a field in your bean, then when the bean is populated and inserted into the Model by your Controller's request handler, then Spring and the Hibernate JSR303 validator will take over and convert your field to the correct value for output by your JSP. You do, of course, have to include the Hibernate JSR 303 validator in your POM as described here: <a href="/2011/07/maven-settings-for-hibernate-jsr-303.html" rel="nofollow">/2011/07/maven-settings-for-hibernate-jsr-303.html</a><br /><br />In fact I have a whole series of Blogs on JSR 303, which you may or may not have already found.Roger Hugheshttps://www.blogger.com/profile/07042290171112551665[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-10732305135545064172012-03-27T09:43:41.057+01:002012-03-27T09:43:41.057+01:00Thanks for sharing.
I came across your post when ...Thanks for sharing. <br />I came across your post when trying to debug my use of the annotation.<br /><br />Having annotated a field and passed that to the view will that automatically display in JSP or do you need to do something else?Shaun Harehttps://www.blogger.com/profile/10366287946640830457[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-20793969695403562162011-09-24T07:29:35.600+01:002011-09-24T07:29:35.600+01:00Hey, very nice site. I came across this on Google,...Hey, very nice site. I came across this on Google, and I am stoked that I did. I will definately be coming back here more often. Wish I could add to the conversation and bring a bit more to the table, but am just taking in as much info as I can at the moment.<br /><br /><a href="http://www.qmsconsultants.com/ISO-9000%20ISO-9001.html" title="iso 9000" rel="nofollow">iso 9000</a>iso 9000http://www.qmsconsultants.com/ISO-9000%20ISO-9001.html[email protected]