Variable für Include setzen
page.jsp: header.jsp: ${pageTitle} weiterlesen... difference between includes JSP include directive examples sharing common jsp's
page.jsp: header.jsp: ${pageTitle} weiterlesen... difference between includes JSP include directive examples sharing common jsp's
GenericPrincipal principal = (GenericPrincipal) request.getUserPrincipal(); String loginName = principal.getName(); pageContext.setAttribute("loginName", loginName); String[] loginRoles = principal.getRoles(); pageContext.setAttribute("loginRoles", loginRoles);