You can create custom Spring Controllers to add server side logic to the application.
Create and package a controller Reference JSP in a controller