Introduce A Controller

Control logic is scattered throughout the application, typically duplicated in multiple Java Server Page (JSP) views

Extract control logic into one or more controller classes that serve as the initial contact point for handling a client request

For further information see page 74 of Core J2EE Patterns