Monthly Archives: September 2011

Reloading Tiles2 Config in Spring 3.x

When you are using Tiles for layout composition with Spring you configure it as a view resolver by adding something like this to the applicationContext.xml     <!– Configure the Tiles templates –>     <bean id=”tilesConfigurer”         class=”org.springframework.web.servlet.view.tiles2.TilesConfigurer”>        … Continue reading

Posted in Spring | 1 Comment

Spring MVC Validation BindingResult

A quick note about using the BindingResult to detect and report errors in a form. One gotcha that got me was the need to set a name on the @ModelAttribute in order to properly relate the form:form commandName and the … Continue reading

Posted in java, Spring | 2 Comments