cannot invoke layout.jsp solved

getter methods must be used in controllers