diff -r 6657dad897ea -r 2e0669e814ff src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java --- a/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Thu Oct 08 18:28:16 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/AbstractLightPITServlet.java Thu Oct 08 20:16:47 2020 +0200 @@ -230,12 +230,12 @@ /** * Sets the navigation menu. * - * @param req the servlet request object - * @param navigationItems the menu entries for the navigation menu + * @param req the servlet request object + * @param jspName the name of the menu's jsp file * @see Constants#REQ_ATTR_NAVIGATION */ - protected void setNavigationMenu(HttpServletRequest req, List navigationItems) { - req.setAttribute(Constants.REQ_ATTR_NAVIGATION, navigationItems); + protected void setNavigationMenu(HttpServletRequest req, String jspName) { + req.setAttribute(Constants.REQ_ATTR_NAVIGATION, Functions.jspPath(jspName)); } /**