- When a request comes in the normal request handling of loading the resource and permission checking takes place.
- Extra URL handling has been added that means that any file beginning with bs_spring is handed off to the Spring servlet.
- The Spring servlet has a Bodington specific mapper that looks for the resource in the request and then attempts for find a bean matching /facilityname/page.
- Control then passes to the bean which is a normal Spring controller.
- The controller then returns its model and view which are mapped to a JSP.
Monday, May 08, 2006
Spring and Bodington
Currently Bodington doesn't use the typical MVC model and each web request maps directly to a controlling template. This makes handling things like errors in forms and redirects difficult. To try and improve matters I have attempted to integrate the Spring MVC framework into Bodington. This is a quick summary of the current state of play.