JSP

Using local ressources in JSP pages

For an internally (no internet access) used webservice based on JSP pages all CSS and JS files had to be included locally. Solution: to achieve this JSTL can be used (<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>) which allows to refernce and load the locally included files, like for example: <link href="<c:url value="/resources/static/css/bootstrap.min.css"/>" rel="stylesheet">

Make the Navigation Menu user specific

For a workflow application serveral user types are defined. In general, depending on their roles, users have different rights. In particular the navigation menu must be user specific (e.g. some users may have write access, others only read access ).
Subscribe to JSP